summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-25 15:37:29 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-25 15:37:29 -0400
commited1e6211a0a134ff23592c6f057af982ad5dab52 (patch)
treeb3485dbf3c041e40ab485b8307fb53f7154330c6 /fs/nfs/nfs4_fs.h
parent73ca1001ed6881b476e8252adcd0eede1ea368ea (diff)
downloadop-kernel-dev-ed1e6211a0a134ff23592c6f057af982ad5dab52.zip
op-kernel-dev-ed1e6211a0a134ff23592c6f057af982ad5dab52.tar.gz
NFSv4: Don't use the delegation->inode in nfs_mark_return_delegation()
nfs_mark_return_delegation() is usually called without any locking, and so it is not safe to dereference delegation->inode. Since the inode is only used to discover the nfs_client anyway, it makes more sense to have the callers pass a valid pointer to the nfs_server as a parameter. Reported-by: Ian Kent <raven@themaw.net> Cc: stable@kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud