diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2010-11-24 17:49:05 +0530 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-11-30 05:49:28 +0000 |
commit | 607a569da4cf289fd8eb3887080ed3b212e3112d (patch) | |
tree | 9e8e54738ebe1c80718ba67d44a7f736ba0af879 /fs/cifs/fscache.c | |
parent | fbeba8bb16d7c50362e28f3f91a79fb414903199 (diff) | |
download | linux-607a569da4cf289fd8eb3887080ed3b212e3112d.tar.gz linux-607a569da4cf289fd8eb3887080ed3b212e3112d.tar.bz2 linux-607a569da4cf289fd8eb3887080ed3b212e3112d.zip |
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 <jlayton@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/fscache.c')
0 files changed, 0 insertions, 0 deletions