summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>2014-08-21 10:56:53 +0800
committerDavid Sterba <dsterba@suse.cz>2014-08-28 02:03:18 +0200
commit5f1313a45d5ed89e7bb7efab3bb7b62a42b7b30f (patch)
tree46cc570fa5f64bbb6217c728330f8146d2f5a96b /ctree.h
parent15cda713b2351aa8dafb94ff1ab94559bf1254fd (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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctree.h b/ctree.h
index fa73c4a4..6fa1ca69 100644
--- a/ctree.h
+++ b/ctree.h
@@ -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;
};