[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e4e40b77cc3a1434df7e65bd10a0eaaa9276a4d6.camel@kernel.org>
Date: Mon, 09 Jun 2025 08:13:33 -0400
From: Jeff Layton <jlayton@...nel.org>
To: NeilBrown <neil@...wn.name>, Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner
<brauner@...nel.org>, Jan Kara <jack@...e.cz>, Chuck Lever
<chuck.lever@...cle.com>, Amir Goldstein <amir73il@...il.com>, Jan Harkes
<jaharkes@...cmu.edu>, David Howells <dhowells@...hat.com>, Tyler Hicks
<code@...icks.com>, Miklos Szeredi <miklos@...redi.hu>, Carlos Maiolino
<cem@...nel.org>
Cc: linux-fsdevel@...r.kernel.org, coda@...cmu.edu,
codalist@...a.cs.cmu.edu, linux-nfs@...r.kernel.org,
netfs@...ts.linux.dev, ecryptfs@...r.kernel.org,
linux-unionfs@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] VFS: Minor fixes for porting.rst
On Mon, 2025-06-09 at 09:09 +1000, NeilBrown wrote:
> This paragraph was relevant for an earlier version of the code which
> passed the qstr as a struct instead of a point. The version that landed
> passed the pointer in all cases so this para is now pointless.
>
> Signed-off-by: NeilBrown <neil@...wn.name>
> ---
> Documentation/filesystems/porting.rst | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst
> index 3616d7161dab..e8c9f21582d1 100644
> --- a/Documentation/filesystems/porting.rst
> +++ b/Documentation/filesystems/porting.rst
> @@ -1224,9 +1224,6 @@ lookup_noperm_unlocked(), lookup_noperm_positive_unlocked(). They now
> take a qstr instead of separate name and length. QSTR() can be used
> when strlen() is needed for the length.
>
> -For try_lookup_noperm() a reference to the qstr is passed in case the
> -hash might subsequently be needed.
> -
> These function no longer do any permission checking - they previously
> checked that the caller has 'X' permission on the parent. They must
> ONLY be used internally by a filesystem on itself when it knows that
Reviewed-by: Jeff Layton <jlayton@...nel.org>
Powered by blists - more mailing lists