]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: take ordered root lock when removing ordered operations inode
authorJosef Bacik <jbacik@fusionio.com>
Mon, 28 Oct 2013 13:13:25 +0000 (09:13 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:08:10 +0000 (22:08 -0500)
commit314b5fdd9d694b4dd26616a3cc83e3f66f30633d
treef1674e2bd0b7837cc1738dd1a6261adc30c1111a
parent428fd36109b3df364cf7e5e9de5774fb263ca793
Btrfs: take ordered root lock when removing ordered operations inode

A user reported a list corruption warning from btrfs_remove_ordered_extent, it
is because we aren't taking the ordered_root_lock when we remove the inode from
the ordered operations list.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ordered-data.c