On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > Safely overwriting the attached page to ATA format from the SCSI formatted > variant. > > Signed-off-by: Shaun Tancheff <[email protected]> > --- > v6: > - Fix bisect bug reported by Tom Yan <[email protected]> > - Change to use sg_copy_from_buffer as per Christoph Hellwig <[email protected]> > v5: > - Added prep patch to work with non-page aligned scatterlist pages > and use kmap_atomic() to lock page during modification. > > drivers/ata/libata-scsi.c | 56 > ++++++++++++++++++++++++++++++++++++++++++----- > include/linux/ata.h | 26 ---------------------- > 2 files changed, 51 insertions(+), 31 deletions(-) > Reviewed-by: Hannes Reinecke <[email protected]>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)

