summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-01-13 08:28:07 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-02-04 00:35:06 +0100
commit02241bc47e8961768de83d855accd0dcad1df045 (patch)
treec6d3c4894c4fe2d73816b8c123abbd365072369d /fs/nfs
parentNFS: Remove nfs_readpage_sync() (diff)
downloadlinux-02241bc47e8961768de83d855accd0dcad1df045.tar.xz
linux-02241bc47e8961768de83d855accd0dcad1df045.zip
NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 345492e78643..966b8db99ac5 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -323,7 +323,7 @@ static int nfs_writepage_locked(struct page *page, struct writeback_control *wbc
err = 0;
out:
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;
}