Commit b1e86db1 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: fix BUG at fs/nfsd/nfsfh.h:199 on unlink

As of commit 43a9aa64

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: default avatarMarius Tolzmann <>
Cc: Chuck Lever <>
Signed-off-by: default avatarJ. Bruce Fields <>
parent cb655d0f
......@@ -196,8 +196,6 @@ fh_lock(struct svc_fh *fhp)
static inline void
fh_unlock(struct svc_fh *fhp)
if (fhp->fh_locked) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment