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

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