[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240814054552.GR13701@ZenIV>
Date: Wed, 14 Aug 2024 06:45:52 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Ian Kent <raven@...maw.net>
Cc: Christian Brauner <brauner@...nel.org>,
autofs mailing list <autofs@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] autofs: add per dentry expire timeout
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?
Powered by blists - more mailing lists