Commit 02241bc4 authored by Trond Myklebust's avatar Trond Myklebust

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

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment