patch-2.1.75 linux/fs/fat/inode.c
Next file: linux/fs/filesystems.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Dec 20 21:33:20 1997
- Orig file:
v2.1.74/linux/fs/fat/inode.c
- Orig date:
Fri Dec 19 15:53:00 1997
diff -u --recursive --new-file v2.1.74/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -566,7 +566,7 @@
tmp.f_bavail = free;
tmp.f_files = 0;
tmp.f_ffree = 0;
- tmp.f_namelen = 12;
+ tmp.f_namelen = MSDOS_SB(sb)->options.isvfat ? 260 : 12;
return copy_to_user(buf, &tmp, bufsiz) ? -EFAULT : 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov