]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: insert_new_root: Fix lock type of the extent buffer.
authorchandan <chandan@linux.vnet.ibm.com>
Thu, 15 Jan 2015 06:52:03 +0000 (12:22 +0530)
committerChris Mason <clm@fb.com>
Thu, 22 Jan 2015 13:42:23 +0000 (05:42 -0800)
commit4d808bb83274d96ab1d970c5abf155f90572f139
tree6df4dfab0a5e36cae8408773c306189ed9ac5bb0
parent5e9a0e05e9f4e8463e63ac35988362cd5a6d1e8f
Btrfs: insert_new_root: Fix lock type of the extent buffer.

btrfs_alloc_tree_block() returns an extent buffer on which a blocked lock has
been taken. Hence assign the appropriate value to path->locks[level].

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.c