diff options
author | Christoph Hellwig <hch@lst.de> | 2024-09-10 07:39:07 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-09-10 11:14:15 +0200 |
commit | 4bceb9ba05aca23652567fb5f899cc7fcb12c8d0 (patch) | |
tree | e77d1fd08e3a11076491ec552efd22bdbf27cac3 /block | |
parent | 492f53758fad4fde3e9a98696780f8b53f87cdae (diff) |
iomap: remove the iomap_file_buffered_write_punch_delalloc return value
iomap_file_buffered_write_punch_delalloc can only return errors if either
the ->punch callback returned an error, or if someone changed the API of
mapping_seek_hole_data to return a negative error code that is not
-ENXIO.
As the only instance of ->punch never returns an error, an such an error
would be fatal anyway remove the entire error propagation and don't
return an error code from iomap_file_buffered_write_punch_delalloc.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240910043949.3481298-6-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions