module/bdev: fix a inconsistent order of parameters
Two parameters' order in deference and definition are inconsistent. Change-Id: I62c6ef81b8044a75646dd3279ad2e6861436ef41 Signed-off-by: Hailiang Wang <hailiangx.e.wang@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475192 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
e5d2fdf14a
commit
dd3632975d
@ -54,13 +54,13 @@ typedef void (*spdk_bdev_iscsi_create_cb)(void *cb_arg, struct spdk_bdev *bdev,
|
|||||||
* they will show up in configuration dump.
|
* they will show up in configuration dump.
|
||||||
*
|
*
|
||||||
* \param name name for new bdev.
|
* \param name name for new bdev.
|
||||||
* \param initiator_iqn connection iqn name we identify to target as
|
|
||||||
* \param url iSCSI URL string.
|
* \param url iSCSI URL string.
|
||||||
|
* \param initiator_iqn connection iqn name we identify to target as
|
||||||
* \param cb_fn Completion callback
|
* \param cb_fn Completion callback
|
||||||
* \param cb_arg Completion callback custom arguments
|
* \param cb_arg Completion callback custom arguments
|
||||||
* \return 0 on success or negative error code. If success bdev with provided name was created.
|
* \return 0 on success or negative error code. If success bdev with provided name was created.
|
||||||
*/
|
*/
|
||||||
int create_iscsi_disk(const char *bdev_name, const char *initiator_iqn, const char *url,
|
int create_iscsi_disk(const char *bdev_name, const char *url, const char *initiator_iqn,
|
||||||
spdk_bdev_iscsi_create_cb cb_fn, void *cb_arg);
|
spdk_bdev_iscsi_create_cb cb_fn, void *cb_arg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user