[PATCH 4.2.y-ckt 047/273] target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectors

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mike Christie commit 8a9ebe717a133ba7bc90b06047f43cc6b8bcb8b3 upstream. In a couple places we are not converting

[PATCH 4.2.y-ckt 047/273] target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectors

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mike Christie commit 8a9ebe717a133ba7bc90b06047f43cc6b8bcb8b3 upstream. In a couple places we are not converting to/from the Linux block