Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02241bc4 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Ensure that ->writepage() uses flush_stable() when reclaiming pages

parent 8e0969f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}