summaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2019-05-11 16:21:49 +0200
committerIlya Dryomov <idryomov@gmail.com>2019-07-08 14:01:44 +0200
commit54ab3b24c536bc9b45ab444830974c6bea57778e (patch)
tree9c57ee81d877decd22049557e1dcda1f16ff698b /drivers/base/core.c
parent26350535c2cef4bcf5de597c301b0560650cec19 (diff)
downloadblackbird-op-linux-54ab3b24c536bc9b45ab444830974c6bea57778e.tar.gz
blackbird-op-linux-54ab3b24c536bc9b45ab444830974c6bea57778e.zip
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 <idryomov@gmail.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud