projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cgroup: replace cftype->read_seq_string() with cftype->seq_show()
[deliverable/linux.git]
/
security
/
device_cgroup.c
diff --git
a/security/device_cgroup.c
b/security/device_cgroup.c
index 7c2a0a71049e9be5c22a5792ec35ad266949c114..d3b6d2cd3a06272a4f6cbd2ed75870db28ad5b48 100644
(file)
--- a/
security/device_cgroup.c
+++ b/
security/device_cgroup.c
@@
-274,10
+274,9
@@
static void set_majmin(char *str, unsigned m)
sprintf(str, "%u", m);
}
sprintf(str, "%u", m);
}
-static int devcgroup_seq_read(struct cgroup_subsys_state *css,
- struct cftype *cft, struct seq_file *m)
+static int devcgroup_seq_show(struct seq_file *m, void *v)
{
{
- struct dev_cgroup *devcgroup = css_to_devcgroup(
css
);
+ struct dev_cgroup *devcgroup = css_to_devcgroup(
seq_css(m)
);
struct dev_exception_item *ex;
char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN];
struct dev_exception_item *ex;
char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN];
@@
-679,7
+678,7
@@
static struct cftype dev_cgroup_files[] = {
},
{
.name = "list",
},
{
.name = "list",
- .
read_seq_string = devcgroup_seq_read
,
+ .
seq_show = devcgroup_seq_show
,
.private = DEVCG_LIST,
},
{ } /* terminate */
.private = DEVCG_LIST,
},
{ } /* terminate */
This page took
0.023733 seconds
and
5
git commands to generate.