]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: new helper vfs_empty_path()
authorChristian Brauner <brauner@kernel.org>
Tue, 30 Apr 2024 11:54:46 +0000 (13:54 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 27 Jun 2024 16:31:19 +0000 (18:31 +0200)
commit1bc6d4452d5c91beb09e37a98a590808e1997b79
tree27c0e8677f2708edba24be504469954806a1189e
parent9fb9ff7ed1656dbd2168ebfc21b8c33666a994fa
fs: new helper vfs_empty_path()

Make it possible to quickly check whether AT_EMPTY_PATH is valid.
Note, after some discussion we decided to also allow NULL to be passed
instead of requiring the empty string.

Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/fs.h