Displaying 2 results from an estimated 2 matches for "smb_encode_path".
1998 Jun 01
1
smbfs confusion
...net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/ne
t/net.a \
/usr/src/linux-2.1.53/arch/i386/lib/lib.a
/usr/src/linux-2.1.53/lib/lib.
a /usr/src/linux-2.1.53/arch/i386/lib/lib.a \
-o vmlinux
fs/filesystems.a(smbfs.o): In function `smb_encode_path':
smbfs.o(.text+0x12a): undefined reference to `i_dentry'
make: *** [vmlinux] Error 1
--
David Wollmann
dwollmann@ibmhelp.com
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...<= 'Z')
+ *name += ('a' - 'A');
+ name++;
+ }
+}
+
/* reverse a string inline. This is used by the dircache walking routines */
static void reverse_string(char *buf, int len) {
char c;
@@ -149,8 +171,13 @@
static char *smb_encode_path(struct smb_sb_info *server, char *buf,
struct dentry *dir, struct qstr *name)
{
+ char *start = buf;
+
buf += smb_build_path(dir, name, buf);
+ if (server->opt.protocol <= SMB_PROTOCOL_COREPLUS)
+ str_upper(start, buf - start);...