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>
This commit is contained in:
Christian Brauner 2024-04-30 13:54:46 +02:00
commit 1bc6d4452d
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2