patch-2.4.9 linux/fs/umsdos/namei.c

Next file: linux/include/asm-alpha/cache.h
Previous file: linux/fs/ufs/util.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/fs/umsdos/namei.c linux/fs/umsdos/namei.c
@@ -491,7 +491,7 @@
 		goto out;
 	}
 
-	len = strlen (symname);
+	len = strlen (symname) + 1;
 	ret = block_symlink(dentry->d_inode, symname, len);
 	if (ret < 0)
 		goto out_unlink;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)