]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
VFS: Minor fixes for porting.rst
authorNeilBrown <neil@brown.name>
Sun, 8 Jun 2025 23:09:34 +0000 (09:09 +1000)
committerChristian Brauner <brauner@kernel.org>
Wed, 11 Jun 2025 11:44:15 +0000 (13:44 +0200)
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>
Documentation/filesystems/porting.rst

index 3616d7161dabd4cc1b8f447934c6e056e7e77a83..e8c9f21582d113995bce5c7df8fb76027a2da67f 100644 (file)
@@ -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