diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-08 14:32:34 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-09 19:29:21 (GMT) |
commit | 7549ad5f9b6eda49bbac4b14c5b8f37bf464f922 (patch) | |
tree | ece4aaa45462bae3e3fa0a831de31cff60e0dd90 | |
parent | 2c1740098c708b465e87637b237feb2fd98f129a (diff) | |
download | linux-fsl-qoriq-7549ad5f9b6eda49bbac4b14c5b8f37bf464f922.tar.xz |
NFS: Remove a redundant check for PageFsCache in nfs_migrate_page()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | fs/nfs/write.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 7b54b8b..d63d964 100644 --- 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); |