search for: smb_sb_info

Displaying 7 results from an estimated 7 matches for "smb_sb_info".

2005 Jan 04
0
[2.6 patch] smbfs: make some functions static
...8 insertions(+), 11 deletions(-) Signed-off-by: Adrian Bunk <bunk@stusta.de> --- linux-2.6.10-mm1-full/fs/smbfs/proto.h.old 2005-01-04 00:57:42.000000000 +0100 +++ linux-2.6.10-mm1-full/fs/smbfs/proto.h 2005-01-04 01:00:11.000000000 +0100 @@ -25,7 +25,6 @@ extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid); extern void smb_init_root_dirent(struct smb_sb_info *server, struct smb_fattr *fattr, struct super_block *sb); -extern void smb_decode_unix_basic(struct smb_fattr *fattr, struct smb_sb_info *server, char *p); extern int smb_proc_getattr(struct dentry *dir, struct smb...
1998 Sep 04
0
Linux SMB Mount utils patch
...x/fs/smbfs/ioctl.c */ +int smb_ioctl (struct inode *, struct file *, unsigned int, unsigned long); + +/* linux/fs/smbfs/inode.c */ +struct super_block *smb_read_super(struct super_block *, void *, int); +void smb_get_inode_attr(struct inode *, struct smb_fattr *); +void smb_invalidate_inodes(struct smb_sb_info *); +int smb_revalidate_inode(struct dentry *); +int smb_notify_change(struct dentry *, struct iattr *); +unsigned long smb_invent_inos(unsigned long); +struct inode *smb_iget(struct super_block *, struct smb_fattr *); +extern int init_smb_fs(void); + +/* linux/fs/smbfs/proc.c */ +__u32 smb_len(u...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...g things up a lot. + * 20/03/00 (chrisp) + * - fixed FINDFIRST flags for OS/2 Server + * - added lastname/mask stuff back (OS/2 needs it) */ #include <linux/types.h> @@ -62,6 +62,28 @@ static int smb_proc_do_getattr(struct dentry *dir, struct smb_fattr *fattr,struct smb_sb_info *server); +static void +str_upper(char *name, int len) +{ + while (len--) + { + if (*name >= 'a' && *name <= 'z') + *name -= ('a' - 'A'); + name++; + } +} + +static void +str_lower(cha...
2005 Mar 25
2
[2.6 patch] fs/smbfs/request.c: fix NULL dereference
...st line of this patch). Signed-off-by: Adrian Bunk <bunk@stusta.de> --- linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c.old 2005-03-25 00:45:08.000000000 +0100 +++ linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c 2005-03-25 00:47:14.000000000 +0100 @@ -783,20 +783,23 @@ int smb_request_recv(struct smb_sb_info break; break; /* We should never be called with any of these states */ case SMB_RECV_END: case SMB_RECV_REQUEST: server->rstate = SMB_RECV_END; break; } + if (!req) + return -ENOMEM; + if (result < 0) { /* We saw an error */ return result; } if (serve...
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote: > On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote: > > > > BTW, I now have a set of 25 patches that moves all handlers from > > fs/compat_ioctl.c over to the respective drivers and subsystems, > > but I'm not sure how to best test that. > > I intend to at least give it a test run on my
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote: > On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote: > > > > BTW, I now have a set of 25 patches that moves all handlers from > > fs/compat_ioctl.c over to the respective drivers and subsystems, > > but I'm not sure how to best test that. > > I intend to at least give it a test run on my
2003 Dec 01
0
No subject
...98 share (DATA) is the same as a Yes, yes! I'm happy not to be alone :-) Urban kindly provided this fix that worked for me in 2.2.16 --- fs/smbfs/proc.c.orig Wed Sep 20 23:54:27 2000 +++ fs/smbfs/proc.c Wed Sep 20 23:56:59 2000 @@ -1453,6 +1453,11 @@ static void smb_finish_dirent(struct smb_sb_info *server, struct smb_fattr *fattr) { + /* workaround for win95 giving back a volume label and not a directory + if there is a dir with the same name as the volume label. sigh. */ + if ((server->mnt->version & SMB_FIX_WIN95) && (fattr->attr & aVOLID)) + fattr-&gt...