search for: f_gid

Displaying 1 result from an estimated 1 matches for "f_gid".

Did you mean: i_gid
1998 Oct 31
0
Linux 2.1.126 kernel smbfs SMBwrite 2x speed improvement
...lude <asm/string.h> +#include <asm/page.h> +#define SMB_ST_BLKSIZE (PAGE_SIZE) + #define SMBFS_PARANOIA 1 /* #define SMBFS_DEBUG_TIMESTAMP 1 */ /* #define SMBFS_DEBUG_VERBOSE 1 */ @@ -1224,7 +1227,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 @@ -1234,7 +1237,7 @@ if (fattr->attr & aDIR) { fattr->f_mode = server->mnt->dir_mode; - fattr->f_size = 512; + fattr->f_size = SMB_ST_BLKSIZE; } /* Ch...