Skip to content

Commit 128630e

Browse files
darkrain42smfrench
authored andcommitted
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: e4029e0 ("cifs: find and use the dentry for cached non-root directories also") Signed-off-by: Paul Aurich <[email protected]> Reviewed-by: Bharath SM <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 343d7fe commit 128630e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/smb/client/cached_dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
401401
spin_lock(&cfids->cfid_list_lock);
402402
list_for_each_entry(cfid, &cfids->entries, entry) {
403403
if (dentry && cfid->dentry == dentry) {
404-
cifs_dbg(FYI, "found a cached root file handle by dentry\n");
404+
cifs_dbg(FYI, "found a cached file handle by dentry\n");
405405
kref_get(&cfid->refcount);
406406
*ret_cfid = cfid;
407407
spin_unlock(&cfids->cfid_list_lock);

0 commit comments

Comments
 (0)