patch-2.1.51 linux/fs/nfsd/export.c
Next file: linux/fs/open.c
Previous file: linux/fs/nfs/symlink.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Aug 17 09:54:07 1997
- Orig file:
v2.1.50/linux/fs/nfsd/export.c
- Orig date:
Mon Aug 11 14:47:05 1997
diff -u --recursive --new-file v2.1.50/linux/fs/nfsd/export.c linux/fs/nfsd/export.c
@@ -248,7 +248,7 @@
finish:
/* Release dentry */
- if (err < 0 && dentry)
+ if (err < 0 && !IS_ERR(dentry))
dput(dentry);
/* Unlock hashtable */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov