Displaying 1 result from an estimated 1 matches for "entries_seen".
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...ork.
+ 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 count;
+ char status[SMB_STATUS_SIZE];
+ static struct qstr mask = { "*.*", 3, 0 };
+
+#ifdef SMBFS_DEBUG_VERBOSE
+printk("smb_proc_readdir_short: %s...