提交 f40313ac 编写于 作者: T Trond Myklebust

NFS: Micro-optimisation for nfs_wb_page()

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册