Return-Path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:59419 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753161AbcJEUft (ORCPT ); Wed, 5 Oct 2016 16:35:49 -0400 Subject: Re: [PATCH] fs/block_dev.c: return the right error in thaw_bdev() To: Jan Kara , Pierre Morel References: <1475571220-2522-1-git-send-email-pmorel@linux.vnet.ibm.com> <1475571220-2522-2-git-send-email-pmorel@linux.vnet.ibm.com> <20161004090615.GF17515@quack2.suse.cz> CC: , , , , , From: Jens Axboe Message-ID: Date: Wed, 5 Oct 2016 14:35:33 -0600 MIME-Version: 1.0 In-Reply-To: <20161004090615.GF17515@quack2.suse.cz> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 10/04/2016 03:06 AM, Jan Kara wrote: > On Tue 04-10-16 10:53:40, Pierre Morel wrote: >> When triggering thaw-filesystems via magic sysrq, the system enters a >> loop in do_thaw_one(), as thaw_bdev() still returns success if >> bd_fsfreeze_count == 0. To fix this, let thaw_bdev() always return >> error (and simplify the code a bit at the same time). >> >> Reviewed-by: Eric Farman >> Reviewed-by: Cornelia Huck >> Signed-off-by: Pierre Morel > > The patch looks good. You can add: > > Reviewed-by: Jan Kara > > Jens, can you please merge this patch? Thanks! Added, thanks all. -- Jens Axboe