nfsd: Fix inconsistent assignment
authorPrasad P <pvp@us.ibm.com>
Wed, 24 Oct 2007 20:14:32 +0000 (15:14 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:01 +0000 (16:42 -0500)
commitaefa89d178e6dd83889b66d4e800d4d77363900b
tree8b4c68d21af0d3342905f6fa58d3af231004a317
parent63c86716ea34ad94d52e5b0abbda152574dc42b5
nfsd: Fix inconsistent assignment

Dereferenced pointer "dentry" without checking and assigned to inode
in the declaration.

(We could just delete the NULL checks that follow instead, as we never
get to the encode function in this particular case.  But it takes a
little detective work to verify that fact, so it's probably safer to
leave the checks in place.)

Cc: Steve French <smfltc@us.ibm.com>
Signed-off-by: Prasad V Potluri <pvp@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs2acl.c