Displaying 1 result from an estimated 1 matches for "f_uid".
Did you mean:
f_hid
1998 Oct 31
0
Linux 2.1.126 kernel smbfs SMBwrite 2x speed improvement
...t 31 02:48:31 1998
@@ -25,6 +25,9 @@
#include <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;
+ fa...