patch-2.4.19 linux-2.4.19/fs/smbfs/cache.c

Next file: linux-2.4.19/fs/smbfs/proc.c
Previous file: linux-2.4.19/fs/reiserfs/tail_conversion.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/fs/smbfs/cache.c linux-2.4.19/fs/smbfs/cache.c
@@ -84,7 +84,7 @@
 	struct list_head *next;
 
 	if (d_validate(dent, parent)) {
-		if (dent->d_name.len <= SMB_MAXPATHLEN &&
+		if (dent->d_name.len <= SMB_MAXNAMELEN &&
 		    (unsigned long)dent->d_fsdata == fpos) {
 			if (!dent->d_inode) {
 				dput(dent);

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