Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627599

Re: linux-next: Tree for Apr 20 (bfq)

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: linux-next: Tree for Apr 20 (bfq)
Date 2017-04-20 17:40 +0200
Message-ID <tymlA-2fX-11@gated-at.bofh.it> (permalink)
References <tye4I-5xb-57@gated-at.bofh.it> <tymbU-2cW-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/20/2017 09:24 AM, Randy Dunlap wrote:
> On 04/19/17 23:43, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20170419:
>>
> 
> on i386:
> when CONFIG_CGROUPS is not enabled:
> 
> In file included from ../block/bfq-iosched.c:105:0:
> ../block/bfq-iosched.h:819:22: error: array type has incomplete element type
>  extern struct cftype bfq_blkcg_legacy_files[];
>                       ^
> ../block/bfq-iosched.h:820:22: error: array type has incomplete element type
>  extern struct cftype bfq_blkg_files[];

This should fix it:


diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 4ce7915e8d84..ae783c06dfd9 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -816,9 +816,6 @@ void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg);
 
 /* ---------------- cgroups-support interface ---------------- */
 
-extern struct cftype bfq_blkcg_legacy_files[];
-extern struct cftype bfq_blkg_files[];
-
 void bfqg_stats_update_io_add(struct bfq_group *bfqg, struct bfq_queue *bfqq,
 			      unsigned int op);
 void bfqg_stats_update_io_remove(struct bfq_group *bfqg, unsigned int op);
@@ -844,6 +841,8 @@ struct bfq_group *bfq_create_group_hierarchy(struct bfq_data *bfqd, int node);
 void bfqg_put(struct bfq_group *bfqg);
 
 #ifdef CONFIG_BFQ_GROUP_IOSCHED
+extern struct cftype bfq_blkcg_legacy_files[];
+extern struct cftype bfq_blkg_files[];
 extern struct blkcg_policy blkcg_policy_bfq;
 #endif
 

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: Tree for Apr 20 Stephen Rothwell <sfr@canb.auug.org.au> - 2017-04-20 08:50 +0200
  Re: linux-next: Tree for Apr 20 (bfq) Randy Dunlap <rdunlap@infradead.org> - 2017-04-20 17:30 +0200
    Re: linux-next: Tree for Apr 20 (bfq) Jens Axboe <axboe@kernel.dk> - 2017-04-20 17:40 +0200
      Re: linux-next: Tree for Apr 20 (bfq) Randy Dunlap <rdunlap@infradead.org> - 2017-04-20 18:20 +0200

csiph-web