Skip to content

Commit

Permalink
ll_rw_blk: fix gcc 4.2 warning on current_io_context()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Jens Axboe authored and Linus Torvalds committed May 15, 2007
1 parent de7860c commit f653c34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f653c34

Please sign in to comment.