From: Trond Myklebust Date: Mon, 25 Jul 2011 19:37:29 +0000 (-0400) Subject: NFSv4: Don't use the delegation->inode in nfs_mark_return_delegation() X-Git-Tag: v3.1-rc1~136^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1e6211a0a134ff23592c6f057af982ad5dab52;p=pandora-kernel.git 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 Cc: stable@kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed