Btrfs: loop waiting on writeback
authorChris Mason <chris.mason@oracle.com>
Wed, 21 Mar 2012 16:09:56 +0000 (12:09 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 26 Mar 2012 21:04:23 +0000 (17:04 -0400)
commita098d8e8eec5a46a47b1bb74390746973d913a9c
treeaa93b224046b29daeca6602176a05c980d58a3c1
parentcfed81a04eb555f5606d1b6a54bdbabab0ee1ac3
Btrfs: loop waiting on writeback

lock_extent_buffer_for_io needs to loop around and make sure the
writeback bits are not set.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c