diff options
author | 2010-11-24 17:49:06 +0530 | |
---|---|---|
committer | 2010-11-30 05:49:32 +0000 | |
commit | b81209de2455c6051cf67f2acd8ec26ccb8caf83 (patch) | |
tree | 2f2b3ffcdbd2448342615bbd5bd45de3eafaa49f /tools/perf/scripts/python | |
parent | cifs: allow fsc mount option only if CONFIG_CIFS_FSCACHE is set (diff) | |
download | linux-dev-b81209de2455c6051cf67f2acd8ec26ccb8caf83.tar.xz linux-dev-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions