]> git.baikalelectronics.ru Git - kernel.git/commit
simple_recursive_removal(): kernel-side rm -rf for ramfs-style filesystems
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 18 Nov 2019 14:43:10 +0000 (09:43 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Dec 2019 03:29:58 +0000 (22:29 -0500)
commite0ac05f03e05715f0ed8fda7bc84d68a9002ac42
tree1dce9bdc1052f0a94dffe67526e38f5a8202164f
parent7855fcc07be326322b44982a21760fd9bd8e2b92
simple_recursive_removal(): kernel-side rm -rf for ramfs-style filesystems

two requirements: no file creations in IS_DEADDIR and no cross-directory
renames whatsoever.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/debugfs/inode.c
fs/libfs.c
fs/tracefs/inode.c
include/linux/debugfs.h
include/linux/fs.h
include/linux/tracefs.h
kernel/trace/trace.c
kernel/trace/trace_events.c
kernel/trace/trace_hwlat.c