summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan Hong <clouds.yan@gmail.com>2012-12-12 13:52:15 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-12 17:38:34 -0800
commita3f3c29cb290a2d5d26e3cf5504f447fd7256a81 (patch)
tree92f68b7b2602fedd3d3c2c8c3aca403faa43d6c6
parent5aaea51dfbddcccaf38eacd03379f47c99bbe944 (diff)
downloadlinux-a3f3c29cb290a2d5d26e3cf5504f447fd7256a81.tar.bz2
fs/buffer.c: do not inline exported function
It makes no sense to inline an exported function. Signed-off-by: Yan Hong <clouds.yan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 6e9ed48064fc..9083e528e3c9 100644
--- 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;