On Wed, Aug 14, 2024 at 11:50:37AM +0800, Ian Kent wrote: > + inode_lock_shared(inode); > + dentry = try_lookup_one_len(param->path, base, path_len); > + inode_unlock_shared(inode); > + if (!dentry) > + return -ENOENT; > + ino = autofs_dentry_ino(dentry); Why can't we get ERR_PTR(...) from try_lookup_one_len() here?