From: Trond Myklebust Date: Sat, 13 Jan 2007 07:28:07 +0000 (-0500) Subject: NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages X-Git-Tag: upstream/snapshot3+hdmi~36010 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02241bc47e8961768de83d855accd0dcad1df045;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages Signed-off-by: Trond Myklebust --- 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; }