scsi: target: tcmu: Adjust parameter in call to tcmu_blocks_release()
authorBodo Stroesser <bostroesser@gmail.com>
Wed, 10 Mar 2021 18:44:58 +0000 (19:44 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Mar 2021 03:18:37 +0000 (23:18 -0400)
commit471ee95ccca9c417344453f73a39681cfde39af1
treee206ecf3416444e966138bfbb664172199365d6c
parent720efdd23f963612d0a8c7072293aff119c6f915
scsi: target: tcmu: Adjust parameter in call to tcmu_blocks_release()

In commit f7c89771d07d ("scsi: target: tcmu: Replace radix_tree with
XArray") the meaning of last parameter of tcmu_blocks_release() was
changed.  So in the callers we should subtract 1 from the previous
parameter.

Unfortunately that change got lost at one of the two places where
tcmu_blocks_release() is called. That does not lead to any problems, but we
should adjust it anyway.

Link: https://lore.kernel.org/r/20210310184458.10741-1-bostroesser@gmail.com
Signed-off-by: Bodo Stroesser <bostroesser@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_user.c