projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02241bc
)
NFS: Micro-optimisation for nfs_wb_page()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 13 Jan 2007 07:28:08 +0000
(
02:28
-0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 3 Feb 2007 23:35:07 +0000
(15:35 -0800)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 966b8db99ac59945a985c5e4491785c482dbf348..fab214a4bcb083792706dbdd52d00bf3f772c33b 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-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;