Re: [REGRESSION] Secure discard is broken

2016-08-11 Thread Christoph Hellwig
> I made a few hacks that seemed to make it go but I expect there are more > places to change: That should be about it, and I did indeed forget about these places. For the place where we hceck for multiple op types it would be nice to use switch statements, though.

[REGRESSION] Secure discard is broken

2016-08-11 Thread Adrian Hunter
Hi I noticed some changes in the mmc block driver that did not go through the mmc tree and they looked wrong so I gave them a test. And it does seem like secure discard is broken, not just for mmc but in general too. The commit was: 288dab8a35a0 ("block: add a separate operation type for secure e