]> git.baikalelectronics.ru Git - 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)
commite42a43b5c15764ae0db3f06f5f1e1ba2b647b3a7
tree546debfba5316ba715ca75d293696ca573201c1f
parentdcbde696c0ab087d4f245712b91620b5aff492c3
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