diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-08-21 10:56:53 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-08-28 02:03:18 +0200 |
commit | 5f1313a45d5ed89e7bb7efab3bb7b62a42b7b30f (patch) | |
tree | 46cc570fa5f64bbb6217c728330f8146d2f5a96b /ctree.h | |
parent | 15cda713b2351aa8dafb94ff1ab94559bf1254fd (diff) |
btrfs-progs: remove unused flags for btrfs_path
The three flags of @btrfs_path:
btrfs_path {
unsigned int keep_locks:1;
unsigned int skip_locking:1;
unsigned int leave_spinning:1;
}
have little meaning, because the userspace @btrfs_search_slot()
is free of locking and no other routines will decide their behavior
on these. So just remove them.
Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -548,9 +548,6 @@ struct btrfs_path { * and to force calls to keep space in the nodes */ unsigned int search_for_split:1; - unsigned int keep_locks:1; - unsigned int skip_locking:1; - unsigned int leave_spinning:1; unsigned int skip_check_block:1; }; |