aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-06-14 11:04:32 -0400
committerJens Axboe <axboe@fb.com>2016-06-14 11:09:33 -0400
commite1f3b9412edb22774cebf47e353b6ccc1b779cfe (patch)
treec89545eaaf2b7fdb7451f3da8b718879d52dbce9
parent1179a5a0851be6753b43601c00602dcef99e68f7 (diff)
block/blk-cgroup.c: Declare local symbols static
Detected by sparse. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--block/blk-cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 66e6f1aae02e..dd38e5ced4a3 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -905,7 +905,7 @@ static int blkcg_print_stat(struct seq_file *sf, void *v)
905 return 0; 905 return 0;
906} 906}
907 907
908struct cftype blkcg_files[] = { 908static struct cftype blkcg_files[] = {
909 { 909 {
910 .name = "stat", 910 .name = "stat",
911 .flags = CFTYPE_NOT_ON_ROOT, 911 .flags = CFTYPE_NOT_ON_ROOT,
@@ -914,7 +914,7 @@ struct cftype blkcg_files[] = {
914 { } /* terminate */ 914 { } /* terminate */
915}; 915};
916 916
917struct cftype blkcg_legacy_files[] = { 917static struct cftype blkcg_legacy_files[] = {
918 { 918 {
919 .name = "reset_stats", 919 .name = "reset_stats",
920 .write_u64 = blkcg_reset_stats, 920 .write_u64 = blkcg_reset_stats,