nfsd: fix leak on error in nfsv3 readdir
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 4 Sep 2009 18:40:36 +0000 (14:40 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 4 Sep 2009 19:48:00 +0000 (15:48 -0400)
commitaed100fafb90aaabe8fb31e58af9dc7e68696507
tree2567f2aa9f0bac26910e6d2910fbdd044a5ab8e2
parent8177e6d6dfb9cd03d9bdeb647c32161f8f58f686
nfsd: fix leak on error in nfsv3 readdir

Note the !dchild->d_inode case can leak the filehandle.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs3xdr.c