[PATCH 3.18 109/124] block: allow WRITE_SAME commands with the SG_IO ioctl

2017-04-20 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Faria de Oliveira commit 25cdb64510644f3e854d502d69c73f21c6df88a9 upstream. The WRITE_SAME commands are not present in the blk_default_cmd_filter

[PATCH 3.18 109/124] block: allow WRITE_SAME commands with the SG_IO ioctl

2017-04-20 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Faria de Oliveira commit 25cdb64510644f3e854d502d69c73f21c6df88a9 upstream. The WRITE_SAME commands are not present in the blk_default_cmd_filter write_ok list, and thus are failed