]> www.infradead.org Git - users/willy/linux.git/commit
fs: add may_copy_tree()
authorChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 13:13:04 +0000 (14:13 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Mar 2025 08:29:52 +0000 (09:29 +0100)
commit9ed72af4e292e770f6977a032de32112b079c2ce
treee829c04e6654da53548256abaaf430917f66260f
parentb73ec10a458796bed6d51768d5f26c4660f62ae4
fs: add may_copy_tree()

Add a helper that verifies whether a caller may copy a given mount tree.

Link: https://lore.kernel.org/r/20250221-brauner-open_tree-v1-5-dbcfcb98c676@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c