Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3f3c29c authored by Yan Hong's avatar Yan Hong Committed by Linus Torvalds
Browse files

fs/buffer.c: do not inline exported function



It makes no sense to inline an exported function.

Signed-off-by: default avatarYan Hong <clouds.yan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5aaea51d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;