Commit 30116ff6 authored by Steven Whitehouse's avatar Steven Whitehouse

GFS2: Use nobh_writepage

Use nobh_writepage rather than calling mpage_writepage directly.
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
parent 540ad6b6
...@@ -136,10 +136,7 @@ static int gfs2_writeback_writepage(struct page *page, ...@@ -136,10 +136,7 @@ static int gfs2_writeback_writepage(struct page *page,
if (ret <= 0) if (ret <= 0)
return ret; return ret;
ret = mpage_writepage(page, gfs2_get_block_noalloc, wbc); return nobh_writepage(page, gfs2_get_block_noalloc, wbc);
if (ret == -EAGAIN)
ret = block_write_full_page(page, gfs2_get_block_noalloc, wbc);
return ret;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment