nfsd: fix BUG at fs/nfsd/nfsfh.h:199 on unlink
commitb1e86db1de2e8bc2be9fb94fae3451c2a776e8c1
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Oct 2010 18:46:17 +0000 (13 14:46 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Oct 2010 19:48:55 +0000 (13 15:48 -0400)
tree60405feda18e4145fc335c8c85f46d33816bc9e0
parentcb655d0f3d57c23db51b981648e452988c0223f9
nfsd: fix BUG at fs/nfsd/nfsfh.h:199 on unlink

As of commit 43a9aa64a2f4330a9cb59aaf5c5636566bce067c "NFSD:
Fill in WCC data for REMOVE, RMDIR, MKNOD, and MKDIR", we sometimes call
fh_unlock on a filehandle that isn't fully initialized.

We should fix up the callers, but as a quick fix it is also sufficient
just to remove this assertion.

Reported-by: Marius Tolzmann <tolzmann@molgen.mpg.de>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.h