commit | 95449a1626fb6b643b576b9fbafed02793627577 | [log] [tgz] |
---|---|---|
author | chandan <chandan@linux.vnet.ibm.com> | Thu Jan 15 12:22:03 2015 +0530 |
committer | Chris Mason <clm@fb.com> | Thu Jan 22 05:42:23 2015 -0800 |
tree | 6df4dfab0a5e36cae8408773c306189ed9ac5bb0 | |
parent | 78f55e5e1fa9f684705325667d455a957f43ad66 [diff] |
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>