diff options
author | David Sterba <dsterba@suse.com> | 2016-11-03 16:49:30 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:31 +0100 |
commit | b81edabe79aa2ab8c23c4af977382a67a7a42ac1 (patch) | |
tree | 3e0246be08534f1bef07cc499f1ba96e8658e931 /ctree.h | |
parent | 7456592977acec12670e545050bba719c83ef0db (diff) |
btrfs-progs: reduce size of btrfs_path, locks are not used
Size of btrfs_path can be reduced by 32 bytes as we don't use the locks
array, down to 112 from 144 bytes.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -555,8 +555,10 @@ struct btrfs_node { struct btrfs_path { struct extent_buffer *nodes[BTRFS_MAX_LEVEL]; int slots[BTRFS_MAX_LEVEL]; - /* if there is real range locking, this locks field will change */ +#if 0 + /* The kernel locking sheme is not done in userspace. */ int locks[BTRFS_MAX_LEVEL]; +#endif int reada; /* keep some upper locks as we walk down */ int lowest_level; |