libata: Safely overwrite attached page in WRITE SAME xlat
authorShaun Tancheff <shaun@tancheff.com>
Mon, 22 Aug 2016 04:23:18 +0000 (23:23 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 25 Aug 2016 15:26:48 +0000 (11:26 -0400)
commit9379e6b8e0f995365dc6158a1463c8dab4f2c8da
tree22d3a77eaa583229d0f7cfba7d9dec04aa64839c
parentcd27396e6103a43c3df76f70db1feafa16206471
libata: Safely overwrite attached page in WRITE SAME xlat

Safely overwriting the attached page to ATA format from the SCSI formatted
variant.

Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Acked-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c
include/linux/ata.h