]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
namei: use QSTR() instead of QSTR_INIT() in path_pts
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 5 May 2026 11:42:42 +0000 (13:42 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 21 May 2026 11:39:36 +0000 (13:39 +0200)
commitde7680d9438fa145c90e96a783e3e69405fecd33
tree2f77b36e9047bdb3cefa2af6b053af5c4306b506
parentd90e60ced4c3c7cd55ba0bedcedd1090d0172ce0
namei: use QSTR() instead of QSTR_INIT() in path_pts

Drop the hard-coded length argument and use the simpler QSTR(). Inline
the code and drop the local variable.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260505114242.158883-2-thorsten.blum@linux.dev
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/namei.c