]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit149f663a489828768d0fa3e7a0189ee53ed0856b
treeb5ace6fadaad888aa7b0d78eeedeb1dcd13a12d1
parent75107636e92656328130b651df2bdf0456df6be9
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