aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-07-17 08:49:57 -0700
committerDarrick J. Wong <[email protected]>2023-07-17 08:49:57 -0700
commit20c64ec83a9f779a750bbbcc1d07d065702313a5 (patch)
treedfa675f384d91df8290bf1627ca603955578aad4 /drivers/net/ethernet/intel/igc
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (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