search for: smbfs_paranoia

Displaying 2 results from an estimated 2 matches for "smbfs_paranoia".

Did you mean: dsmbfs_paranoia
1998 Oct 31
0
Linux 2.1.126 kernel smbfs SMBwrite 2x speed improvement
...@samba.anu.edu.au list. -------------- next part -------------- --- /tmp/linux/fs/smbfs/proc.c Mon Oct 26 01:44:37 1998 +++ linux/fs/smbfs/proc.c Sat Oct 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...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...&resp_param_len, &resp_param); + if (result < 0) + { + if (smb_retry(server)) + goto retry; + goto out; + } + if (server->rcls != 0) + { + result = -smb_errno(server); +#ifdef SMBFS_PARANOIA +if (result != -ENOENT) +printk("smb_proc_getattr_ff: error for %s, rcls=%d, err=%d\n", +mask, server->rcls, server->err); +#endif + goto out; + } + /* Make sure we got enough data ... */ + result = -EINVAL; + if (resp_data_len < 22 || WVAL(r...