projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c17400
)
NFS: Remove a redundant check for PageFsCache in nfs_migrate_page()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 8 Feb 2010 14:32:34 +0000
(09:32 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 9 Feb 2010 19:29:21 +0000
(14:29 -0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: David Howells <dhowells@redhat.com>
fs/nfs/write.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 7b54b8bb101fc857a857e58c3f1e09b0a7711e1e..d63d964a0392ed9a73e759b18c34e1ecfe2368c0 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-1598,8
+1598,7
@@
int nfs_migrate_page(struct address_space *mapping, struct page *newpage,
struct nfs_page *req;
int ret;
- if (PageFsCache(page))
- nfs_fscache_release_page(page, GFP_KERNEL);
+ nfs_fscache_release_page(page, GFP_KERNEL);
req = nfs_find_and_lock_request(page);
ret = PTR_ERR(req);