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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux