diff options
author | 2025-06-09 09:09:34 +1000 | |
---|---|---|
committer | 2025-06-11 13:44:15 +0200 | |
commit | e2a9a3d74a7633598357419257edf77c1fab3e4c (patch) | |
tree | 1d38da1a9c175f910f055c62054110e8b27e1b95 | |
parent | VFS: merge lookup_one_qstr_excl_raw() back into lookup_one_qstr_excl() (diff) | |
download | wireguard-linux-e2a9a3d74a7633598357419257edf77c1fab3e4c.tar.xz wireguard-linux-e2a9a3d74a7633598357419257edf77c1fab3e4c.zip |
VFS: Minor fixes for porting.rst
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@brown.name>
Link: https://lore.kernel.org/20250608230952.20539-3-neil@brown.name
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r-- | Documentation/filesystems/porting.rst | 3 |
1 files changed, 0 insertions, 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 |