summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2012-04-13 15:04:32 +0200
committerSteve French <sfrench@us.ibm.com>2012-04-13 17:03:29 +0200
commitbfa890a3cdeed29eef53d54cd7f80cec0fd46b11 (patch)
tree1392f59d8a984c97a36e289f506303806627c209 /fs/cifs/cifsacl.h
parentCleanup handling of NULL value passed for a mount option (diff)
downloadlinux-bfa890a3cdeed29eef53d54cd7f80cec0fd46b11.tar.xz
linux-bfa890a3cdeed29eef53d54cd7f80cec0fd46b11.zip
Fix number parsing in cifs_parse_mount_options
The function kstrtoul() used to parse number strings in the mount option parser is set to expect a base 10 number . This treats the octal numbers passed for mount options such as file_mode as base10 numbers leading to incorrect behavior. Change the 'base' argument passed to kstrtoul from 10 to 0 to allow it to auto-detect the base of the number passed. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Acked-by: Jeff Layton <jlayton@samba.org> Reported-by: Chris Clayton <chris2553@googlemail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsacl.h')
0 files changed, 0 insertions, 0 deletions