diff -ruN linux-2.1.132-orig/fs/smbfs/proc.c linux-2.1.132c/fs/smbfs/proc.c --- linux-2.1.132-orig/fs/smbfs/proc.c Mon Feb 1 23:27:12 1999 +++ linux-2.1.132c/fs/smbfs/proc.c Mon Nov 9 16:47:23 1998 @@ -25,6 +25,9 @@ #include +#include +#define SMB_ST_BLKSIZE (PAGE_SIZE) + #define SMBFS_PARANOIA 1 /* #define SMBFS_DEBUG_TIMESTAMP 1 */ /* #define SMBFS_DEBUG_VERBOSE 1 */ @@ -1222,7 +1225,7 @@ fattr->f_nlink = 1; fattr->f_uid = server->mnt->uid; fattr->f_gid = server->mnt->gid; - fattr->f_blksize = 512; + fattr->f_blksize = SMB_ST_BLKSIZE; } static void @@ -1232,7 +1235,7 @@ if (fattr->attr & aDIR) { fattr->f_mode = server->mnt->dir_mode; - fattr->f_size = 512; + fattr->f_size = SMB_ST_BLKSIZE; } /* Check the read-only flag */ if (fattr->attr & aRONLY)