Re: [PATCH] autofs: add per dentry expire timeout

Al Viro <[email protected]>
Newsgroups gmane.linux.file-systems,gmane.linux.kernel.autofs,gmane.linux.kernel
Message-ID <20240814054552.GR13701@ZenIV>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.