File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
655
655
snprintf (cft -> name , MAX_CFTYPE_NAME , "%s.events" , buf );
656
656
cft -> private = MEMFILE_PRIVATE (idx , 0 );
657
657
cft -> seq_show = hugetlb_events_show ;
658
- cft -> file_offset = offsetof(struct hugetlb_cgroup , events_file [idx ]),
658
+ cft -> file_offset = offsetof(struct hugetlb_cgroup , events_file [idx ]);
659
659
cft -> flags = CFTYPE_NOT_ON_ROOT ;
660
660
661
661
/* Add the events.local file */
@@ -664,7 +664,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
664
664
cft -> private = MEMFILE_PRIVATE (idx , 0 );
665
665
cft -> seq_show = hugetlb_events_local_show ;
666
666
cft -> file_offset = offsetof(struct hugetlb_cgroup ,
667
- events_local_file [idx ]),
667
+ events_local_file [idx ]);
668
668
cft -> flags = CFTYPE_NOT_ON_ROOT ;
669
669
670
670
/* NULL terminate the last cft */
You can’t perform that action at this time.
0 commit comments