NFS: Fix a bug in nfs_fscache_release_page()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 8 Feb 2010 14:32:27 +0000 (09:32 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Feb 2010 19:29:10 +0000 (14:29 -0500)
commit2c1740098c708b465e87637b237feb2fd98f129a
tree7794f7a904913effa4c08bf4bb1b840aba52becb
parentdeb0c98c7f6035d47a247e548384517a955314a5
NFS: Fix a bug in nfs_fscache_release_page()

Not having an fscache cookie is perfectly valid if the user didn't mount
with the fscache option.

This patch fixes http://bugzilla.kernel.org/show_bug.cgi?id=15234

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: stable@kernel.org
fs/nfs/fscache.c