2008-03-01 16:19:28

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] block/blk-tag.c should #include "blk.h"

Every file should include the headers containing the externs for its
global functions (in this case for __blk_queue_free_tags()).

Signed-off-by: Adrian Bunk <[email protected]>

---
0edfc0436c5d278bb3272aa6ce3044052b137f99 foobar
diff --git a/block/blk-tag.c b/block/blk-tag.c
index a8c37d4..4780a46 100644
--- a/block/blk-tag.c
+++ b/block/blk-tag.c
@@ -6,6 +6,8 @@
#include <linux/bio.h>
#include <linux/blkdev.h>

+#include "blk.h"
+
/**
* blk_queue_find_tag - find a request by its tag and queue
* @q: The request queue for the device


2008-03-01 18:37:12

by Jens Axboe

[permalink] [raw]
Subject: Re: [2.6 patch] block/blk-tag.c should #include "blk.h"

On Sat, Mar 01 2008, Adrian Bunk wrote:
> Every file should include the headers containing the externs for its
> global functions (in this case for __blk_queue_free_tags()).

Thanks Adrian, applied all of them.

--
Jens Axboe