V2: Add a new misc resource for controlling fd.
Chen Ridong (4):
filescgroup: remove files of dfl_cftypes.
filecgroup: move code of filescontrol.c to files-cgroup.c
misc: add MISC_CG_RES_FD resource to control fd.
Documentation: add misc resource statement.
Documentation/admin-guide/cgroup-v2.rst | 7 +
fs/Makefile | 2 +
fs/file.c | 16 +-
fs/files-cgroup.c | 335 +++++++++++++++++++++++
fs/filescontrol.c | 339 +++---------------------
fs/misc-fd.c | 92 +++++++
include/linux/fdtable.h | 1 +
include/linux/files-cgroup.h | 33 +++
include/linux/filescontrol.h | 45 ++--
include/linux/misc-fd.h | 23 ++
include/linux/misc_cgroup.h | 2 +
kernel/cgroup/misc.c | 2 +
12 files changed, 563 insertions(+), 334 deletions(-)
create mode 100644 fs/files-cgroup.c
create mode 100644 fs/misc-fd.c
create mode 100644 include/linux/files-cgroup.h
create mode 100644 include/linux/misc-fd.h
--
2.34.1