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/ufs | |
| parent | fs/ecryptfs: replace snprintf with sysfs_emit in show function (diff) | |
| download | linux-b39f7d75dc41b5f5d028192cd5d66cff71179f35.tar.gz linux-b39f7d75dc41b5f5d028192cd5d66cff71179f35.zip | |
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/ufs')
| -rw-r--r-- | fs/ufs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/dir.c b/fs/ufs/dir.c index 88d0062cfdb9..0388a1bae326 100644 --- a/fs/ufs/dir.c +++ b/fs/ufs/dir.c @@ -48,7 +48,7 @@ static void ufs_commit_chunk(struct folio *folio, loff_t pos, unsigned len) struct inode *dir = mapping->host; inode_inc_iversion(dir); - 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); mark_inode_dirty(dir); |
