Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213413
b: refs/heads/master
c: 29e07c8
h: refs/heads/master
i:
  213411: dbacd09
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Oct 6, 2010
1 parent 77b293a commit 8bb7c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6508d904e6fb66ce4c34617f72b38d6714c4b9f6
refs/heads/master: 29e07c82a9e8acebbb38ecc22b0b5005a0a5d839
6 changes: 5 additions & 1 deletion trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr;

seq_printf(s, ",unc=%s", tcon->treeName);
if (tcon->ses->userName)

if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)
seq_printf(s, ",multiuser");
else if (tcon->ses->userName)
seq_printf(s, ",username=%s", tcon->ses->userName);

if (tcon->ses->domainName)
seq_printf(s, ",domain=%s", tcon->ses->domainName);

Expand Down

0 comments on commit 8bb7c59

Please sign in to comment.