btrfs-progs: remove unused flags for btrfs_path
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 21 Aug 2014 02:56:53 +0000 (10:56 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 28 Aug 2014 00:03:18 +0000 (02:03 +0200)
commit5f1313a45d5ed89e7bb7efab3bb7b62a42b7b30f
tree46cc570fa5f64bbb6217c728330f8146d2f5a96b
parent15cda713b2351aa8dafb94ff1ab94559bf1254fd
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>
cmds-restore.c
ctree.h
extent-tree.c