1 diff -ruN linux-2.1.132-orig/fs/smbfs/proc.c linux-2.1.132c/fs/smbfs/proc.c
2 --- linux-2.1.132-orig/fs/smbfs/proc.c Mon Feb 1 23:27:12 1999
3 +++ linux-2.1.132c/fs/smbfs/proc.c Mon Nov 9 16:47:23 1998
6 #include <asm/string.h>
9 +#define SMB_ST_BLKSIZE (PAGE_SIZE)
11 #define SMBFS_PARANOIA 1
12 /* #define SMBFS_DEBUG_TIMESTAMP 1 */
13 /* #define SMBFS_DEBUG_VERBOSE 1 */
16 fattr->f_uid = server->mnt->uid;
17 fattr->f_gid = server->mnt->gid;
18 - fattr->f_blksize = 512;
19 + fattr->f_blksize = SMB_ST_BLKSIZE;
24 if (fattr->attr & aDIR)
26 fattr->f_mode = server->mnt->dir_mode;
27 - fattr->f_size = 512;
28 + fattr->f_size = SMB_ST_BLKSIZE;
30 /* Check the read-only flag */
31 if (fattr->attr & aRONLY)