projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7860c
)
ll_rw_blk: fix gcc 4.2 warning on current_io_context()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 15 May 2007 17:30:07 +0000
(19:30 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 15 May 2007 17:44:15 +0000
(10:44 -0700)
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>
block/ll_rw_blk.c
patch
|
blob
|
blame
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index 74a567afb83069f1d666409c645107a2d78e516d..6b5173ac81313d8adb5c1d7b521559f565bb209b 100644
(file)
--- 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.