summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2014-09-22 17:41:04 +0100
committerChris Mason <clm@fb.com>2014-10-03 16:14:58 -0700
commit55e3bd2e0c2e1cfb43429b962e61415e0526bc01 (patch)
treeabb89e714c5ad0532229a19816fbe8aa317b33af /fs/btrfs/extent_map.c
parent32be3a1ac6d09576c57063c6c350ca36eaebdbd3 (diff)
downloadlinux-55e3bd2e0c2e1cfb43429b962e61415e0526bc01.tar.bz2
Btrfs: add missing end_page_writeback on submit_extent_page failure
If submit_extent_page() fails in write_one_eb(), we end up with the current page not marked dirty anymore, unlocked and marked for writeback. But we never end up calling end_page_writeback() against the page, which will make calls to filemap_fdatawait_range (e.g. at transaction commit time) hang forever waiting for the writeback bit to be cleared from the page. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions