Skip to content

Commit

Permalink
block/blk-cgroup.c: Declare local symbols static
Browse files Browse the repository at this point in the history
Detected by sparse.

Signed-off-by: Bart Van Assche <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Bart Van Assche authored and axboe committed Jun 14, 2016
1 parent 1179a5a commit e1f3b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/blk-cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ static int blkcg_print_stat(struct seq_file *sf, void *v)
return 0;
}

struct cftype blkcg_files[] = {
static struct cftype blkcg_files[] = {
{
.name = "stat",
.flags = CFTYPE_NOT_ON_ROOT,
Expand All @@ -914,7 +914,7 @@ struct cftype blkcg_files[] = {
{ } /* terminate */
};

struct cftype blkcg_legacy_files[] = {
static struct cftype blkcg_legacy_files[] = {
{
.name = "reset_stats",
.write_u64 = blkcg_reset_stats,
Expand Down

0 comments on commit e1f3b94

Please sign in to comment.