]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
Btrfs: fix unprotected defragable inode insertion
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 09:25:38 +0000 (09:25 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:12 +0000 (20:46 -0500)
commit8ddc473433b5e8ce8693db9f6e251f5a28267528
treebfbf05f0ada45b8b77f4982a895c17059b1456f2
parent9247f3170b2c3d648707c93bbebcd763fac17c06
Btrfs: fix unprotected defragable inode insertion

We forget to get the defrag lock when we re-add the defragable inode,
Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/file.c