]> git.hungrycats.org Git - linux/commit
[PATCH] kNFSd: Nfsdv4 pointer cleanup
authorAndrew Morton <akpm@osdl.org>
Thu, 26 Feb 2004 14:45:58 +0000 (06:45 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 Feb 2004 14:45:58 +0000 (06:45 -0800)
commitb9eb1ee0b8cd543865cbe7c67115c2cb769d060d
tree225b1b52f76aa9e4f458e05e9d3e64563bf17910
parentc85705ed8fd01c5816aa54a556638e554d7daa7d
[PATCH] kNFSd: Nfsdv4 pointer cleanup

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

Compare inode pointers instead of dentry pointers when checking an inode
refered to by a stateid against an inode refered to by a file handle.

Set st_vfs_set to 0 if the stateid/file handle check fails to avoid
referencing bad state when reaping stateid's.
fs/nfsd/nfs4state.c