patch-2.2.0-pre1 linux/fs/ncpfs/inode.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Dec 23 11:57:17 1998
- Orig file:
v2.1.132/linux/fs/ncpfs/inode.c
- Orig date:
Mon Apr 6 17:41:01 1998
diff -u --recursive --new-file v2.1.132/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -382,7 +382,12 @@
out_no_server:
printk(KERN_ERR "ncp_read_super: could not alloc ncp_server\n");
out_unlock:
- put_filp(ncp_filp);
+ /* 23/12/1998 Marcin Dalecki <dalecki@cs.net.pl>:
+ *
+ * The previously used put_filp(ncp_filp); was bogous, since
+ * it doesn't proper unlocking.
+ */
+ fput(ncp_filp);
unlock_super(sb);
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov