diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2022-10-12 06:13:03 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-13 09:36:39 -0500 |
commit | e4029e072673d8a694f660f551609dd4f9265088 (patch) | |
tree | cc5b2fcab8b99c2d2c20a29f47e4fbd7d79b9eb5 /fs/cifs/sess.c | |
parent | ebe98f1447bbccf8228335c62d86af02a0ed23f7 (diff) | |
download | linux-e4029e072673d8a694f660f551609dd4f9265088.tar.gz linux-e4029e072673d8a694f660f551609dd4f9265088.tar.bz2 linux-e4029e072673d8a694f660f551609dd4f9265088.zip |
cifs: find and use the dentry for cached non-root directories also
This allows us to use cached attributes for the entries in a cached
directory for as long as a lease is held on the directory itself.
Previously we have always allowed "used cached attributes for 1 second"
but this extends this to the lifetime of the lease as well as making the
caching safer.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/sess.c')
0 files changed, 0 insertions, 0 deletions