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)
commit33efaaf6e24b68c15e08a12477c8610b5e1334d7
tree8acfbf25a5d3904202ec967d571dcb743ff4dc41
parentd7c382c51d0379f38eee270db575018094826c73
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