diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-01-13 02:28:07 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-03 18:35:06 -0500 |
commit | 02241bc47e8961768de83d855accd0dcad1df045 (patch) | |
tree | c6d3c4894c4fe2d73816b8c123abbd365072369d /fs/nfs/write.c | |
parent | 8e0969f0451eaf7cf32f2ec3946196d8d0b1cb2c (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.c | 2 |
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 | |||
323 | err = 0; | 323 | err = 0; |
324 | out: | 324 | out: |
325 | if (!wbc->for_writepages) | 325 | if (!wbc->for_writepages) |
326 | nfs_flush_mapping(page->mapping, wbc, wb_priority(wbc)); | 326 | nfs_flush_mapping(page->mapping, wbc, FLUSH_STABLE|wb_priority(wbc)); |
327 | return err; | 327 | return err; |
328 | } | 328 | } |
329 | 329 | ||