patch-pre2.0.7 linux/fs/ufs/ufs_super.c

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

diff -u --recursive --new-file pre2.0.6/linux/fs/ufs/ufs_super.c linux/fs/ufs/ufs_super.c
@@ -279,7 +279,7 @@
 	tmp.f_ffree = sb->u.ufs_sb.s_raw_sb->fs_cstotal.cs_nifree;
 	tmp.f_fsid.val[0] = sb->u.ufs_sb.s_raw_sb->fs_id[0];
 	tmp.f_fsid.val[1] = sb->u.ufs_sb.s_raw_sb->fs_id[1];
-	tmp.f_namelen = MAXNAMLEN;
+	tmp.f_namelen = UFS_MAXNAMLEN;
 /*        tmp.f_spare[6] */
 
 	memcpy_tofs(buf, &tmp, bufsiz);

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