diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2010-11-24 13:19:06 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-11-30 06:49:32 +0100 |
commit | b81209de2455c6051cf67f2acd8ec26ccb8caf83 (patch) | |
tree | 2f2b3ffcdbd2448342615bbd5bd45de3eafaa49f /fs/cifs/transport.c | |
parent | cifs: allow fsc mount option only if CONFIG_CIFS_FSCACHE is set (diff) | |
download | linux-b81209de2455c6051cf67f2acd8ec26ccb8caf83.tar.xz linux-b81209de2455c6051cf67f2acd8ec26ccb8caf83.zip |
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 <jlayton@redhat.com>
Acked-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/transport.c')
0 files changed, 0 insertions, 0 deletions