From 5f1313a45d5ed89e7bb7efab3bb7b62a42b7b30f Mon Sep 17 00:00:00 2001 From: Gui Hecheng Date: Thu, 21 Aug 2014 10:56:53 +0800 Subject: 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 Signed-off-by: David Sterba --- ctree.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'ctree.h') 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; }; -- cgit v1.2.3