aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-01-13 02:28:07 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-02-03 15:35:06 -0800
commit02241bc47e8961768de83d855accd0dcad1df045 (patch)
treec6d3c4894c4fe2d73816b8c123abbd365072369d /fs/nfs/write.c
parent8e0969f0451eaf7cf32f2ec3946196d8d0b1cb2c (diff)
NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-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 345492e7864..966b8db99ac 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;
}