提交 02241bc4 编写于 作者: T Trond Myklebust

NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 8e0969f0
...@@ -323,7 +323,7 @@ static int nfs_writepage_locked(struct page *page, struct writeback_control *wbc ...@@ -323,7 +323,7 @@ static int nfs_writepage_locked(struct page *page, struct writeback_control *wbc
err = 0; err = 0;
out: out:
if (!wbc->for_writepages) if (!wbc->for_writepages)
nfs_flush_mapping(page->mapping, wbc, wb_priority(wbc)); nfs_flush_mapping(page->mapping, wbc, FLUSH_STABLE|wb_priority(wbc));
return err; return err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册