+23
−24
Loading
Next patch will allow using _bdev_[un]lock_lba_range() without specifying a channel. Move the channel's locked range check into bdev_unlock_lba_range() where it is necessary. Now _bdev_unlock_lba_range() does not need the channel parameter at all, so remove it. Change-Id: I6f63a304645f99bed9dbe5bac4dbee37c10df2dd Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18098 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>