aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsencrypt.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-08-10 10:22:28 +0000
committerSteve French <stfrench@microsoft.com>2021-08-25 15:45:10 -0500
commit18d04062f83b3eedb64e9f64ede26ee83ae7f152 (patch)
treec3c3adf374d89c8aac32520463468b715bd7e5e3 /fs/cifs/cifsencrypt.c
parentoid_registry: Add OIDs for missing Spnego auth mechanisms to Macs (diff)
downloadlinux-dev-18d04062f83b3eedb64e9f64ede26ee83ae7f152.tar.xz
linux-dev-18d04062f83b3eedb64e9f64ede26ee83ae7f152.zip
cifs: enable fscache usage even for files opened as rw
So far, the fscache implementation we had supports only a small set of use cases. Particularly for files opened with O_RDONLY. This commit enables it even for rw based file opens. It also enables the reuse of cached data in case of mount option (cache=singleclient) where it is guaranteed that this is the only client (and server) which operates on the files. There's also a single line change in fscache.c to get around a bug seen in fscache. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
0 files changed, 0 insertions, 0 deletions