diff options
| author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-15 13:30:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-15 13:44:15 -0400 |
| commit | f653c34dd3d8bde2c918316fd5ba2e2c4f95afcf (patch) | |
| tree | 9902c2ab3960211f1e6de00be759fd25b9fef34d | |
| parent | de7860c3f3272086a4c3a1b4280b11ffae7c32be (diff) | |
ll_rw_blk: fix gcc 4.2 warning on current_io_context()
current_io_context() is both static and exported with EXPORT_SYMBOL().
As there are no users outside of ll_rw_blk.c itself, just kill the
export.
Problem reported by Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | block/ll_rw_blk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index 74a567afb830..6b5173ac8131 100644 --- a/block/ll_rw_blk.c +++ b/block/ll_rw_blk.c | |||
| @@ -3802,7 +3802,6 @@ static struct io_context *current_io_context(gfp_t gfp_flags, int node) | |||
| 3802 | 3802 | ||
| 3803 | return ret; | 3803 | return ret; |
| 3804 | } | 3804 | } |
| 3805 | EXPORT_SYMBOL(current_io_context); | ||
| 3806 | 3805 | ||
| 3807 | /* | 3806 | /* |
| 3808 | * If the current task has no IO context then create one and initialise it. | 3807 | * If the current task has no IO context then create one and initialise it. |
