Displaying 4 results from an estimated 4 matches for "smb_proc_readdir".
2003 Dec 16
0
smb_proc_readdir Problem
When I mount a smb share that is located on a Win2k machine I get the
following error when I try to browse the directory.
smb_proc_readdir_long: name=, result=-2, rcls=1, err=123
I assume this is talking about the long filenames that are in the
directory I am trying to browse. I have to type ls or ll multiple times
before I get a listing and then the listing isn't all there either.
I am running Red Hat 8.0 Kernel 2.4.18, samba...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...pr_debug("smb_decode_dirent: len=%d, name=%s\n", len, entry->name);
+ return p + 22;
+}
+
+/* This routine is used to read in directory entries from the network.
+ Note that it is for short directory name seeks, i.e.: protocol <
+ SMB_PROTOCOL_LANMAN2 */
+
+static int
+smb_proc_readdir_short(struct smb_sb_info *server, struct dentry *dir, int
fpos,
+ void *cachep)
+{
+ char *p;
+ int result;
+ int i, first, entries_seen, entries;
+ int entries_asked = (server->opt.max_xmit - 100) / SMB_DIRINFO_SIZE;
+ __u16 bcc;
+ __u16...
1998 Sep 04
0
Linux SMB Mount utils patch
...+int smb_proc_write(struct dentry *, off_t, int, const char *);
+int smb_proc_create(struct dentry *, __u16, time_t, __u16 *);
+int smb_proc_mv(struct dentry *, struct dentry *);
+int smb_proc_mkdir(struct dentry *);
+int smb_proc_rmdir(struct dentry *);
+int smb_proc_unlink(struct dentry *);
+int smb_proc_readdir(struct dentry *, int, void *);
+int smb_proc_getattr(struct dentry *, struct smb_fattr *);
+int smb_proc_setattr(struct dentry *, struct smb_fattr *);
+int smb_proc_settime(struct dentry *, struct smb_fattr *);
+int smb_proc_dskattr(struct super_block *, struct statfs *);
+int smb_proc_reconnect(st...
1999 May 20
8
SMBFS stack overflow?
...bec790 c01756a3
May 17 00:03:43 core kernel: c0de9000 c12f9644 c0de380c c0cf9c00 c02b14cc c0de9000 00000002 c0de9000
May 17 00:03:43 core kernel: c0cf9c00 c0306ee4 c0349b78 c01b7bfa c0009380 c13ddec0 00000000 00000000
May 17 00:03:43 core kernel: Call Trace: [smb_init_dircache+11/28] [smb_proc_readdir_long+183/968]
[start_next_request+78/96] [ide_intr+228/240] [smb_proc_readdir+35/60] [smb_refill_dircache+31/100]
[smb_readdir+81/384]
May 17 00:03:43 core kernel: [smb_dir_open+67/80] [sys_getdents+245/352] [filldir+0/132]
[smb_readdir+0/384] [system_call+52/64]
May 17 00:03:43 core kernel:...