]> git.baikalelectronics.ru Git - kernel.git/commit
block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
authorMd Haris Iqbal <haris.iqbal@cloud.ionos.com>
Wed, 28 Apr 2021 06:13:56 +0000 (08:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 May 2021 17:00:11 +0000 (11:00 -0600)
commit7fac8aae31c2ad6a8e6a8cda9a464b1fd6ad4b0f
tree8ed97311c032c7412f0df7a429f4287a510a7e7f
parent8df3156cfc68e87000ed6c073e9a33aa58047844
block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t

The member queue_depth in the structure rnbd_clt_session is read from the
rtrs client side using the function rtrs_clt_query, which in turn is read
from the rtrs_clt structure. It should really be of type size_t.

Fixes: c0492e8850cbc ("block/rnbd: client: private header with client structs and functions")
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Reviewed-by: Guoqing Jiang <guoqing.jiang@ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Link: https://lore.kernel.org/r/20210428061359.206794-2-gi-oh.kim@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.h