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

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

 




On 14/8/24 13:45, Al Viro wrote:
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?

Oops!

Thanks Al, I'll post a v2.


Ian





[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux