]> www.infradead.org Git - users/willy/linux.git/commit
cpuset: Use fs_context
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Sep 2018 06:41:00 +0000 (07:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:38:59 +0000 (17:38 +0100)
commit2502e017909615eb17dfbb03ad59de0c8c43c2ac
tree2465631deeadc01d5cd490e5888bb4730a752855
parentca5911cd7b665ca4e0a988da5d584dd1b6d69997
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>
kernel/cgroup/cpuset.c