File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -4577,8 +4577,6 @@ smb2_readv_callback(struct mid_q_entry *mid)
4577
4577
if (rdata -> subreq .start < rdata -> subreq .rreq -> i_size )
4578
4578
rdata -> result = 0 ;
4579
4579
}
4580
- if (rdata -> result == 0 || rdata -> result == - EAGAIN )
4581
- iov_iter_advance (& rdata -> subreq .io_iter , rdata -> got_bytes );
4582
4580
rdata -> credits .value = 0 ;
4583
4581
netfs_subreq_terminated (& rdata -> subreq ,
4584
4582
(rdata -> result == 0 || rdata -> result == - EAGAIN ) ?
@@ -4789,7 +4787,6 @@ smb2_writev_callback(struct mid_q_entry *mid)
4789
4787
wdata -> result = - ENOSPC ;
4790
4788
else
4791
4789
wdata -> subreq .len = written ;
4792
- iov_iter_advance (& wdata -> subreq .io_iter , written );
4793
4790
break ;
4794
4791
case MID_REQUEST_SUBMITTED :
4795
4792
case MID_RETRY_NEEDED :
You can’t perform that action at this time.
0 commit comments