]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: start switching to fs_context
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Jan 2019 05:38:03 +0000 (00:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Feb 2019 08:29:29 +0000 (03:29 -0500)
commit3a3bca698ecf6238efe4f1c524ed090340d3ba66
tree297cd4933c7fb8a450bfcd30c6649882a64cff97
parentd7b2a48c41a0f915b82049585702d976409b4705
cgroup: start switching to fs_context

Unfortunately, cgroup is tangled into kernfs infrastructure.
To avoid converting all kernfs-based filesystems at once,
we need to untangle the remount part of things, instead of
having it go through kernfs_sop_remount_fs().  Fortunately,
it's not hard to do.

This commit just gets cgroup/cgroup1 to use fs_context to
deliver options on mount and remount paths.  Parsing those
is going to be done in the next commits; for now we do
pretty much what legacy case does.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/cgroup/cgroup-internal.h
kernel/cgroup/cgroup-v1.c
kernel/cgroup/cgroup.c