]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: Remove three arguments from block_write_end()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 24 Jun 2025 13:21:27 +0000 (14:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 24 Jun 2025 13:53:40 +0000 (15:53 +0200)
commitb39f7d75dc41b5f5d028192cd5d66cff71179f35
tree5b7f4f6e62ee183c49c8646b95108430aeb1e7ca
parent06a705356d7543b4eb2f41bef1ee0d5951700f7a
fs: Remove three arguments from block_write_end()

block_write_end() looks like it can be used as a ->write_end()
implementation.  However, it can't as it does not unlock nor put
the folio.  Since it does not use the 'file', 'mapping' nor 'fsdata'
arguments, remove them.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/20250624132130.1590285-1-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
block/fops.c
fs/buffer.c
fs/ext2/dir.c
fs/ext4/inode.c
fs/iomap/buffered-io.c
fs/minix/dir.c
fs/nilfs2/dir.c
fs/nilfs2/recovery.c
fs/ufs/dir.c
include/linux/buffer_head.h