]> 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)
commit418b016cd5b6a87dbf5975bcdbdb487335047dae
tree8acfbf25a5d3904202ec967d571dcb743ff4dc41
parentc4f3811bd75a7b4f97095406e73928d883407a02
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