Skip to content

Commit

Permalink
fs/buffer.c: do not inline exported function
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
clouds-yan authored and torvalds committed Dec 13, 2012
1 parent 5aaea51 commit a3f3c29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a3f3c29

Please sign in to comment.