diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-06-24 14:21:27 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-06-24 15:53:40 +0200 |
| commit | b39f7d75dc41b5f5d028192cd5d66cff71179f35 (patch) | |
| tree | 5b7f4f6e62ee183c49c8646b95108430aeb1e7ca /fs/minix | |
| parent | 06a705356d7543b4eb2f41bef1ee0d5951700f7a (diff) | |
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>
Diffstat (limited to 'fs/minix')
| -rw-r--r-- | fs/minix/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/dir.c b/fs/minix/dir.c index dd2a425b41f0..19052fc47e9e 100644 --- a/fs/minix/dir.c +++ b/fs/minix/dir.c @@ -45,7 +45,7 @@ static void dir_commit_chunk(struct folio *folio, loff_t pos, unsigned len) struct address_space *mapping = folio->mapping; struct inode *dir = mapping->host; - block_write_end(NULL, mapping, pos, len, len, folio, NULL); + block_write_end(pos, len, len, folio); if (pos+len > dir->i_size) { i_size_write(dir, pos+len); |