summaryrefslogtreecommitdiffstats
path: root/sound/isa/opti9xx/opti93x.c
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2012-09-19 15:22:45 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:34 +0200
commitecdb69e2cc80cca77d6afcc0aca244b72cc5ee68 (patch)
tree050776ac0f5f656b9223c71eb07ade0e9e750bd5 /sound/isa/opti9xx/opti93x.c
parentcifs: cleanups for cifs_mkdir_qinfo (diff)
downloadlinux-ecdb69e2cc80cca77d6afcc0aca244b72cc5ee68.tar.xz
linux-ecdb69e2cc80cca77d6afcc0aca244b72cc5ee68.zip
cifs: Mangle string used for unc in /proc/mounts
The string for "unc=" in /proc/mounts needs to be escaped. The current behaviour can create problems in cases when mounting a share starting with a number. example: >mount -t cifs -o username=test,password=x vm140-31:/17000-test /mnt >mount -o remount,password=x /mnt mount error: could not resolve address for vm140-31x00-test: Unknown error The sub-string "\170" which is part of the unc for the mount above in /proc/mounts is interpreted as character'x' in the case above. Escaping the string fixes the problem. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'sound/isa/opti9xx/opti93x.c')
0 files changed, 0 insertions, 0 deletions