aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2019-05-11 16:21:49 +0200
committerIlya Dryomov <[email protected]>2019-07-08 14:01:44 +0200
commit54ab3b24c536bc9b45ab444830974c6bea57778e (patch)
tree9c57ee81d877decd22049557e1dcda1f16ff698b /net/lapb/lapb_subr.c
parent26350535c2cef4bcf5de597c301b0560650cec19 (diff)
rbd: get rid of obj_req->xferred, obj_req->result and img_req->xferred
obj_req->xferred and img_req->xferred don't bring any value. The former is used for short reads and has to be set to obj_req->ex.oe_len after that and elsewhere. The latter is just an aggregate. Use result for short reads (>=0 - number of bytes read, <0 - error) and pass it around explicitly. No need to store it in obj_req. Signed-off-by: Ilya Dryomov <[email protected]> Reviewed-by: Dongsheng Yang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions