]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: pull up trailing slashes check for O_CREAT
authorChristian Brauner <brauner@kernel.org>
Thu, 8 Aug 2024 09:12:50 +0000 (11:12 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 06:22:35 +0000 (08:22 +0200)
commit4770d96a6d89c7dd5675056629c0008f7f8106bf
treefe5a02ce2f799f373d1e1bb115b8f3d9791bffbf
parentc65d41c5a5279738fc07f99c0e912b28a691c46f
fs: pull up trailing slashes check for O_CREAT

Perform the check for trailing slashes right in the fastpath check and
don't bother with any additional work.

Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c