]> Pileus Git - ~andy/linux/blobdiff - include/linux/cgroup.h
cgroup: replace cftype->read_seq_string() with cftype->seq_show()
[~andy/linux] / include / linux / cgroup.h
index c3d698a72e02bb23d62b5b393c1d75f0fb2932e2..b32a0f8ae9ad1eb0aac6853465680e7f03853bb0 100644 (file)
@@ -444,12 +444,9 @@ struct cftype {
         * read_s64() is a signed version of read_u64()
         */
        s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
-       /*
-        * read_seq_string() is used for outputting a simple sequence
-        * using seqfile.
-        */
-       int (*read_seq_string)(struct cgroup_subsys_state *css,
-                              struct cftype *cft, struct seq_file *m);
+
+       /* generic seq_file read interface */
+       int (*seq_show)(struct seq_file *sf, void *v);
 
        /*
         * write_u64() is a shortcut for the common case of accepting