[PATCH 04/23] sd: factor out a sd_set_special_bvec helper

2023-02-03 Thread Christoph Hellwig
Add a helper for setting up the special_bvec instead of open coding it in three place, and use the new bvec_set_page helper to initialize special_vec. Signed-off-by: Christoph Hellwig Reviewed-by: Chaitanya Kulkarni --- drivers/scsi/sd.c | 36 +--- 1 file

[PATCH 04/23] sd: factor out a sd_set_special_bvec helper

2023-01-30 Thread Christoph Hellwig
Add a helper for setting up the special_bvec instead of open coding it in three place, and use the new bvec_set_page helper to initialize special_vec. Signed-off-by: Christoph Hellwig --- drivers/scsi/sd.c | 36 +--- 1 file changed, 17 insertions(+), 19