cgroups: introduce cft->read_seq()
[linux-2.6-block.git] / include / linux / cgroup.h
index d58a958444abb49f79dcc02dea2486ffc050ebba..095248082b7e260d1dd6f2f15733075635bb0238 100644 (file)
@@ -226,6 +226,12 @@ struct cftype {
         */
        int (*read_map) (struct cgroup *cont, struct cftype *cft,
                         struct cgroup_map_cb *cb);
+       /*
+        * read_seq_string() is used for outputting a simple sequence
+        * using seqfile.
+        */
+       int (*read_seq_string) (struct cgroup *cont, struct cftype *cft,
+                        struct seq_file *m);
 
        ssize_t (*write) (struct cgroup *cgrp, struct cftype *cft,
                          struct file *file,