netprio_cgroup: convert away from cftype->read_map()
authorTejun Heo <tj@kernel.org>
Thu, 5 Dec 2013 17:28:02 +0000 (12:28 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 5 Dec 2013 17:28:02 +0000 (12:28 -0500)
commite92e113cabc1d3e47dc4740a814adb413f022e2f
tree35ad59655576ae0710aec974be89fc580fa4cdb0
parent791badbdb3e4fc1001ee3bcdaedc6d4f167fcbe8
netprio_cgroup: convert away from cftype->read_map()

In preparation of conversion to kernfs, cgroup file handling is being
consolidated so that it can be easily mapped to the seq_file based
interface of kernfs.

cftype->read_map() doesn't add any value and being replaced with
->read_seq_string().  Update read_priomap() to use ->read_seq_string()
instead.

This patch doesn't make any visible behavior changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Acked-by: Li Zefan <lizefan@huawei.com>
net/core/netprio_cgroup.c