Commit 7549ad5f authored by Trond Myklebust's avatar Trond Myklebust

NFS: Remove a redundant check for PageFsCache in nfs_migrate_page()

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
parent 2c174009
......@@ -1598,7 +1598,6 @@ 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);
req = nfs_find_and_lock_request(page);
......
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