提交 30116ff6 编写于 作者: S Steven Whitehouse

GFS2: Use nobh_writepage

Use nobh_writepage rather than calling mpage_writepage directly.
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
上级 540ad6b6
......@@ -136,10 +136,7 @@ static int gfs2_writeback_writepage(struct page *page,
if (ret <= 0)
return ret;
ret = mpage_writepage(page, gfs2_get_block_noalloc, wbc);
if (ret == -EAGAIN)
ret = block_write_full_page(page, gfs2_get_block_noalloc, wbc);
return ret;
return nobh_writepage(page, gfs2_get_block_noalloc, wbc);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册