diff options
author | Christoph Hellwig <[email protected]> | 2023-07-17 08:49:57 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-07-17 08:49:57 -0700 |
commit | 20c64ec83a9f779a750bbbcc1d07d065702313a5 (patch) | |
tree | dfa675f384d91df8290bf1627ca603955578aad4 /drivers/net/ethernet/intel/igc | |
parent | fdf0eaf11452d72945af31804e2a1048ee1b574c (diff) |
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')
0 files changed, 0 insertions, 0 deletions