Skip to content

Commit e2a9a3d

Browse files
neilbrownbrauner
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 2b07a5a commit e2a9a3d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Documentation/filesystems/porting.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,9 +1224,6 @@ lookup_noperm_unlocked(), lookup_noperm_positive_unlocked(). They now
12241224
take a qstr instead of separate name and length. QSTR() can be used
12251225
when strlen() is needed for the length.
12261226

1227-
For try_lookup_noperm() a reference to the qstr is passed in case the
1228-
hash might subsequently be needed.
1229-
12301227
These function no longer do any permission checking - they previously
12311228
checked that the caller has 'X' permission on the parent. They must
12321229
ONLY be used internally by a filesystem on itself when it knows that

0 commit comments

Comments
 (0)