From: Suresh Jayaraman Date: Wed, 24 Nov 2010 12:19:05 +0000 (+0530) Subject: cifs: allow fsc mount option only if CONFIG_CIFS_FSCACHE is set X-Git-Tag: v2.6.37-rc5~38^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607a569da4cf289fd8eb3887080ed3b212e3112d;p=pandora-kernel.git cifs: allow fsc mount option only if CONFIG_CIFS_FSCACHE is set Currently, it is possible to specify 'fsc' mount option even if CONFIG_CIFS_FSCACHE has not been set. The option is being ignored silently while the user fscache functionality to work. Fix this by raising error when the CONFIG option is not set. Reported-by: Jeff Layton Reviewed-by: Jeff Layton Signed-off-by: Suresh Jayaraman Signed-off-by: Steve French --- Reading git-diff-tree failed