]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: target: Add file configure_unmap callout
authorMike Christie <michael.christie@oracle.com>
Tue, 28 Jun 2022 20:02:29 +0000 (15:02 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jul 2022 20:53:52 +0000 (16:53 -0400)
commit4faf9aec2bfc58a960237a3cf682f8699422e9cd
tree8acfbf25a5d3904202ec967d571dcb743ff4dc41
parentf306a29adb5753f7cfc7364a04d516740b3e47fc
scsi: target: Add file configure_unmap callout

Move file's UNMAP setup code to a configure_unmap callout.

Link: https://lore.kernel.org/r/20220628200230.15052-5-michael.christie@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_file.c