From: Sachin Prabhu Date: Fri, 13 Apr 2012 13:04:32 +0000 (+0100) Subject: Fix number parsing in cifs_parse_mount_options X-Git-Tag: v3.4-rc4~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfa890a3cdeed29eef53d54cd7f80cec0fd46b11;p=pandora-kernel.git 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 Acked-by: Jeff Layton Reported-by: Chris Clayton Signed-off-by: Steve French --- Reading git-diff-tree failed