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 15:35:06 -0800 |
commit | 02241bc47e8961768de83d855accd0dcad1df045 (patch) | |
tree | c6d3c4894c4fe2d73816b8c123abbd365072369d | |
parent | 8e0969f0451eaf7cf32f2ec3946196d8d0b1cb2c (diff) | |
download | op-kernel-dev-02241bc47e8961768de83d855accd0dcad1df045.zip op-kernel-dev-02241bc47e8961768de83d855accd0dcad1df045.tar.gz |
NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-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 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; } |