diff options
| author | Christoph Hellwig <[email protected]> | 2023-07-17 15:49:57 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2023-07-17 15:49:57 +0000 |
| commit | 20c64ec83a9f779a750bbbcc1d07d065702313a5 (patch) | |
| tree | dfa675f384d91df8290bf1627ca603955578aad4 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | Linux 6.5-rc2 (diff) | |
| download | kernel-20c64ec83a9f779a750bbbcc1d07d065702313a5.tar.gz kernel-20c64ec83a9f779a750bbbcc1d07d065702313a5.zip | |
iomap: fix a regression for partial write errors
When write* wrote some data it should return the amount of written data
and not the error code that caused it to stop. Fix a recent regression
in iomap_file_buffered_write that caused it to return the errno instead.
Fixes: 219580eea1ee ("iomap: update ki_pos in iomap_file_buffered_write")
Reported-by: kernel test robot <[email protected]>
Reported-by: Cyril Hrubis <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Ritesh Harjani (IBM) <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
