fs: add mnt_ns_empty() helper
Add a helper that checks whether a give mount namespace is empty instead of open-coding the specific data structure check. This also be will be used in follow-up patches. Link: https://lore.kernel.org/r/20250221-brauner-open_tree-v1-2-dbcfcb98c676@kernel.org Signed-off-by:Christian Brauner <brauner@kernel.org>
Loading
Please register or sign in to comment