From: Suresh Jayaraman Date: Wed, 24 Nov 2010 12:19:06 +0000 (+0530) Subject: cifs: enable fscache iff fsc mount option is used explicitly X-Git-Tag: v2.6.37-rc5~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b81209de2455c6051cf67f2acd8ec26ccb8caf83;p=pandora-kernel.git cifs: enable fscache iff fsc mount option is used explicitly Currently, if CONFIG_CIFS_FSCACHE is set, fscache is enabled on files opened as read-only irrespective of the 'fsc' mount option. Fix this by enabling fscache only if 'fsc' mount option is specified explicitly. Remove an extraneous cFYI debug message and fix a typo while at it. Reported-by: Jeff Layton Acked-by: Jeff Layton Signed-off-by: Suresh Jayaraman Signed-off-by: Steve French --- Reading git-diff-tree failed