]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/buffer.c: do not inline exported function
authorYan Hong <clouds.yan@gmail.com>
Thu, 29 Nov 2012 03:18:11 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:22 +0000 (16:23 +1100)
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>
fs/buffer.c

index 3c983ca5eec35b1b5cbd5378fd721b1ca5c29a00..2ae630a9a4ca7ed76c87aa143120d87747006d52 100644 (file)
@@ -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;