• Tejun Heo's avatar
    buffer: make touch_buffer() an exported function · f0059afd
    Tejun Heo authored
    We want to add a trace point to touch_buffer() but macros and inline
    functions defined in header files can't have tracing points.  Move
    touch_buffer() to fs/buffer.c and make it a proper function.
    
    The new exported function is also declared inline.  As most uses of
    touch_buffer() are inside buffer.c with nilfs2 as the only other user,
    the effect of this change should be negligible.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    f0059afd
buffer_head.h 11.3 KB