diff options
| author | Paul Aurich <paul@darkrain42.org> | 2024-11-08 14:29:02 -0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2024-11-10 22:50:38 -0600 |
| commit | 98a27fd59e7daef8233b18c076ff19643094b300 (patch) | |
| tree | f7d56ae307ebfc8550ffc3a6e54bfde76f5926b5 | |
| parent | 2d5404caa8c7bb5c4e0435f94b28834ae5456623 (diff) | |
| download | linux-98a27fd59e7daef8233b18c076ff19643094b300.tar.gz linux-98a27fd59e7daef8233b18c076ff19643094b300.tar.bz2 linux-98a27fd59e7daef8233b18c076ff19643094b300.zip | |
smb: cached directories can be more than root file handle
Update this log message since cached fids may represent things other
than the root of a mount.
Fixes: e4029e072673 ("cifs: find and use the dentry for cached non-root directories also")
Signed-off-by: Paul Aurich <paul@darkrain42.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
| -rw-r--r-- | fs/smb/client/cached_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cached_dir.c b/fs/smb/client/cached_dir.c index 0ff2491c311d..adcba1335204 100644 --- a/fs/smb/client/cached_dir.c +++ b/fs/smb/client/cached_dir.c @@ -401,7 +401,7 @@ int open_cached_dir_by_dentry(struct cifs_tcon *tcon, spin_lock(&cfids->cfid_list_lock); list_for_each_entry(cfid, &cfids->entries, entry) { if (dentry && cfid->dentry == dentry) { - cifs_dbg(FYI, "found a cached root file handle by dentry\n"); + cifs_dbg(FYI, "found a cached file handle by dentry\n"); kref_get(&cfid->refcount); *ret_cfid = cfid; spin_unlock(&cfids->cfid_list_lock); |
