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

Commit f40313ac authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Micro-optimisation for nfs_wb_page()

parent 02241bc4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1516,6 +1516,8 @@ int nfs_wb_page_priority(struct inode *inode, struct page *page, int how)
		if (ret < 0)
			goto out;
	}
	if (!PagePrivate(page))
		return 0;
	ret = nfs_sync_mapping_wait(page->mapping, &wbc, how);
	if (ret >= 0)
		return 0;