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 /block | |
| 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 'block')
| -rw-r--r-- | block/fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/fops.c b/block/fops.c index 1309861d4c2c..35cea0cb304d 100644 --- a/block/fops.c +++ b/block/fops.c @@ -507,7 +507,7 @@ static int blkdev_write_end(struct file *file, struct address_space *mapping, void *fsdata) { int ret; - ret = block_write_end(file, mapping, pos, len, copied, folio, fsdata); + ret = block_write_end(pos, len, copied, folio); folio_unlock(folio); folio_put(folio); |
