Commit f40313ac authored by Trond Myklebust's avatar Trond Myklebust

NFS: Micro-optimisation for nfs_wb_page()

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 02241bc4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment