From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752447AbcHKOFi (ORCPT ); Thu, 11 Aug 2016 10:05:38 -0400 Received: from verein.lst.de ([213.95.11.211]:41623 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708AbcHKOFf (ORCPT ); Thu, 11 Aug 2016 10:05:35 -0400 Date: Thu, 11 Aug 2016 16:05:33 +0200 From: Christoph Hellwig To: Adrian Hunter Cc: Christoph Hellwig , Jens Axboe , Ulf Hansson , LKML , linux-mmc Subject: Re: [REGRESSION] Secure discard is broken Message-ID: <20160811140533.GA16543@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.