projects/linux·commit f653c34d

ll_rw_blk: fix gcc 4.2 warning on current_io_context()

f653c34d · Jens Axboe <[email protected]> · 2007-05-15 19:30:07 +02:00

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 <[email protected]>

Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
f653c34dd3d8bde2c918316fd5ba2e2c4f95afcf
Parents
de7860c3

Changes

1 files changed · +0 −1

FileStatusAddDelContent
block/ll_rw_blk.cmodified+0−1View file

block/ll_rw_blk.c

View file
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 74a567a..6b5173a 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)
return ret;
}
-EXPORT_SYMBOL(current_io_context);
/*
* If the current task has no IO context then create one and initialise it.