patch-2.1.37 linux/fs/nfsd/vfs.c
Next file: linux/fs/open.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon May 12 10:35:42 1997
- Orig file:
v2.1.36/linux/fs/nfsd/vfs.c
- Orig date:
Wed Apr 23 19:01:27 1997
diff -u --recursive --new-file v2.1.36/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -285,6 +285,10 @@
if (err) {
if (wflag)
put_write_access(inode);
+
+ /* I nearly added put_filp() call here, but this filp
+ * is really on callers stack frame. -DaveM
+ */
filp->f_count--;
return nfserrno(-err);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov