non-consuming variants of do_{unlinkat,rmdir}()

similar to previous commit; replacements are filename_{unlinkat,rmdir}()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2026-01-06 23:33:31 -05:00
parent 88fdc27617
commit e50aae1d39
6 changed files with 26 additions and 22 deletions

View File

@@ -1341,6 +1341,7 @@ in-tree filesystems have done).
fs/namei.c primitives that consume filesystem references (do_renameat2(),
do_linkat(), do_symlinkat(), do_mkdirat(), do_mknodat(), do_unlinkat()
and do_rmdir()) are getting replaced with non-consuming analogues
(filename_renameat2(), etc.) Replaced so far: do_renameat2(), do_linkat(),
do_symlinkat(), do_mkdirat(), do_mknodat().
and do_rmdir()) are gone; they are replaced with non-consuming analogues
(filename_renameat2(), etc.)
Callers are adjusted - responsibility for dropping the filenames belongs
to them now.