Btrfs: do not check inode's runtime flags under root->orphan_lock
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 25 Jan 2018 18:02:55 +0000 (11:02 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:36 +0000 (15:09 +0200)
commit3d5addafd0c49d57afe867339ec1cc535d23715e
treeb5ace6fadaad888aa7b0d78eeedeb1dcd13a12d1
parentbc5511d0eda1c2534aa3cedb485eae1fc354f2dc
Btrfs: do not check inode's runtime flags under root->orphan_lock

It's not necessary to hold ->orphan_lock when checking inode's runtime
flags.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c