]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/nfsd/nfsfh.h
nfsd: fix BUG at fs/nfsd/nfsfh.h:199 on unlink
[net-next-2.6.git] / fs / nfsd / nfsfh.h
index cdfb8c6a420674cbde75467a09d6a158977a4b61..c16f8d8331b5afcd80baec98cbdbc4594c66142d 100644 (file)
@@ -196,8 +196,6 @@ fh_lock(struct svc_fh *fhp)
 static inline void
 fh_unlock(struct svc_fh *fhp)
 {
-       BUG_ON(!fhp->fh_dentry);
-
        if (fhp->fh_locked) {
                fill_post_wcc(fhp);
                mutex_unlock(&fhp->fh_dentry->d_inode->i_mutex);