]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix unlock in __start_delalloc_inodes()
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Wed, 2 Apr 2014 11:53:32 +0000 (19:53 +0800)
committerChris Mason <clm@fb.com>
Mon, 7 Apr 2014 16:08:50 +0000 (09:08 -0700)
commitfa47f861e7925ac146eaa1f51bde32ab7602f60e
treebe79e536c83d72f455c25971f20cf99c511d59ae
parente2bca077d273d854d0633a63eb5ec40251db4bcf
Btrfs: fix unlock in __start_delalloc_inodes()

This patch fix a regression caused by the following patch:
Btrfs: don't flush all delalloc inodes when we doesn't get s_umount lock

break while loop will make us call @spin_unlock() without
calling @spin_lock() before, fix it.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c