summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-01-13 07:28:07 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-02-03 23:35:06 (GMT)
commit02241bc47e8961768de83d855accd0dcad1df045 (patch)
treec6d3c4894c4fe2d73816b8c123abbd365072369d /fs/nfs
parent8e0969f0451eaf7cf32f2ec3946196d8d0b1cb2c (diff)
downloadlinux-02241bc47e8961768de83d855accd0dcad1df045.tar.xz
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 345492e..966b8db 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;
}