fs: remove the bh_end_io argument from __block_write_full_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 15 Dec 2023 20:02:45 +0000 (20:02 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:36 +0000 (11:58 -0800)
commit14059f66a959c760467ea2041e165f412845bcb8
treec8315be9e51c098549239d23e64ef02591a55c25
parent17bf23a981be9c6629198a76940c777eb5c8c521
fs: remove the bh_end_io argument from __block_write_full_folio

All callers are passing end_buffer_async_write as this argument, so we can
hardcode references to it within __block_write_full_folio().  That lets us
make end_buffer_async_write() static.

Link: https://lkml.kernel.org/r/20231215200245.748418-15-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/buffer.c
fs/gfs2/aops.c
include/linux/buffer_head.h