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 <shaun.tancheff@xxxxxxxxxxx> > --- > v6: > - Fix bisect bug reported by Tom Yan <tom.ty89@xxxxxxxxx> > - Change to use sg_copy_from_buffer as per Christoph Hellwig <hch@xxxxxx> > 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 <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +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) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html