Whamcloud - gitweb
LU-13004 ptlrpc: simplify bd_vec access. 73/36973/4
authorMr NeilBrown <neilb@suse.de>
Wed, 4 Dec 2019 02:38:05 +0000 (13:38 +1100)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Mar 2020 22:36:32 +0000 (22:36 +0000)
commit816c9f01d5b44e05437b890aab4ef50edc02230f
treeee31253cfb65b963f4c37e9971d525db6489842a
parentd277f2ae95d0d0580059561706face3accfe3618
LU-13004 ptlrpc: simplify bd_vec access.

Now that there are no kvecs in ptlrpc_bulk_desc, only bdvecs, we can
simplify the access, discarding the containing struct and the macros,
and just accessing the fields directly.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I068a7a280f130bf0b53b9c572ed47ef0cc999102
Reviewed-on: https://review.whamcloud.com/36973
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/osc/osc_page.c
lustre/ptlrpc/client.c
lustre/ptlrpc/gss/gss_bulk.c
lustre/ptlrpc/gss/gss_krb5_mech.c
lustre/ptlrpc/gss/gss_sk_mech.c
lustre/ptlrpc/pers.c
lustre/ptlrpc/sec_bulk.c
lustre/ptlrpc/sec_plain.c