From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:55338 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbeAPQ6k (ORCPT ); Tue, 16 Jan 2018 11:58:40 -0500 Date: Tue, 16 Jan 2018 17:58:40 +0100 From: Greg KH To: Jeff Mahoney Cc: stable@vger.kernel.org, Anand Jain Subject: Re: [PATCH 3.10.y] [FIX BAD BACKPORT] Btrfs: add missing brelse when superblock checksum fails Message-ID: <20180116165840.GA7840@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jan 16, 2018 at 11:25:17AM -0500, Jeff Mahoney wrote: > Commit b2acdddfad13c38a1e8b927d83c3cf321f63601a upstream. > > linux-3.10.y commit bf00d124e07 (Btrfs: add missing brelse when > superblock checksum fails) was misapplied to a later error handling > site. The result is that it doesn't actually free the buffer on > checksum failure but does attempt to double free the buffer if > unsupported features are used. > > The backport of b2acdddfad1 in other branches is correct. > > Cc: # 3.10 > Cc: Anand Jain > Signed-off-by: Jeff Mahoney > --- > fs/btrfs/disk-io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) 3.10 is long obsolete, sorry. greg k-h