mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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>
This commit is contained in:
parent
5aaea51dfb
commit
a3f3c29cb2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user