patch-2.3.99-pre9 linux/fs/nfsd/nfsfh.c
Next file: linux/fs/openpromfs/inode.c
Previous file: linux/fs/nfsd/nfscache.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sat May 20 12:19:41 2000
- Orig file:
v2.3.99-pre8/linux/fs/nfsd/nfsfh.c
- Orig date:
Sun Mar 19 18:35:31 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -812,17 +812,11 @@
{
struct dentry * dentry = fhp->fh_dentry;
if (fhp->fh_dverified) {
+ fhp->fh_dentry = NULL;
fh_unlock(fhp);
fhp->fh_dverified = 0;
- if (!dentry->d_count)
- goto out_bad;
dput(dentry);
nfsd_nr_put++;
}
- return;
-
-out_bad:
- printk(KERN_ERR "fh_put: %s/%s has d_count 0!\n",
- dentry->d_parent->d_name.name, dentry->d_name.name);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)