patch-pre2.0.10 linux/fs/ncpfs/dir.c

Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -963,6 +963,7 @@
 		|| (   (len == 2)
 		    && (name[1] == '.'))))
 	{
+		iput(dir);
 		return -EEXIST;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this