]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
cpuset: Use fs_context
authorDavid Howells <dhowells@redhat.com>
Thu, 1 Nov 2018 23:07:25 +0000 (23:07 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Feb 2019 08:29:35 +0000 (03:29 -0500)
commita18753747385b8b98577a18adc8ec99fda679044
tree546debfba5316ba715ca75d293696ca573201c1f
parent23bf1b6be9c291a7130118dcc7384f72ac04d813
cpuset: Use fs_context

Make the cpuset filesystem use the filesystem context.  This is potentially
tricky as the cpuset fs is almost an alias for the cgroup filesystem, but
with some special parameters.

This can, however, be handled by setting up an appropriate cgroup
filesystem and returning the root directory of that as the root dir of this
one.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/cgroup/cpuset.c