]> 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)
commit5a7ba4517347e8e70a12060834254db0c63affd7
treebe79e536c83d72f455c25971f20cf99c511d59ae
parent212a9bff651eb3b0c39d2ab3fb2936a8eeaf9840
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