projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aaea51
)
fs/buffer.c: do not inline exported function
author
Yan Hong
<
[email protected]
>
Wed, 12 Dec 2012 21:52:15 +0000
(13:52 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 13 Dec 2012 01:38:34 +0000
(17:38 -0800)
It makes no sense to inline an exported function.
Signed-off-by: Yan Hong <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/buffer.c
patch
|
blob
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index 6e9ed48064fc0c9e5ea98abfc1c4603be6955e4b..9083e528e3c9a8d5876f230f70bc452ff9e5c70e 100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-46,8
+46,7
@@
static int fsync_buffers_list(spinlock_t *lock, struct list_head *list);
#define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
-inline void
-init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private)
+void init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private)
{
bh->b_end_io = handler;
bh->b_private = private;