Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161137AbWJDHv7 (ORCPT ); Wed, 4 Oct 2006 03:51:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161139AbWJDHv6 (ORCPT ); Wed, 4 Oct 2006 03:51:58 -0400 Received: from mailhub.sw.ru ([195.214.233.200]:26372 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S1161137AbWJDHv5 (ORCPT ); Wed, 4 Oct 2006 03:51:57 -0400 Message-ID: <452367C7.70302@sw.ru> Date: Wed, 04 Oct 2006 11:50:31 +0400 From: Vasily Averin User-Agent: Thunderbird 1.5.0.5 (X11/20060725) MIME-Version: 1.0 To: Theodore Tso , Stephen Tweedie , Andrew Morton , adilger@clusterfs.com, Linux Kernel Mailing List , linux-ext4@vger.kernel.org, devel@openvz.org, cmm@us.ibm.com CC: Kirill Korotaev , Dmitry Mishin , Eric Sandeen Subject: [PATCH 2.6.18] ext3: errors behaviour fix X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 25 From: Dmitry Mishin EXT3_ERRORS_CONTINUE should be taken from the superblock as default value for error behaviour. Signed-off-by: Dmitry Mishin Acked-by: Vasily Averin Acked-by: Kirill Korotaev --- linux-2.6.18/fs/ext3/super.c.e3erop 2006-09-20 07:42:06.000000000 +0400 +++ linux-2.6.18/fs/ext3/super.c 2006-10-03 15:51:44.000000000 +0400 @@ -1466,6 +1466,8 @@ static int ext3_fill_super (struct super set_opt(sbi->s_mount_opt, ERRORS_PANIC); else if (le16_to_cpu(sbi->s_es->s_errors) == EXT3_ERRORS_RO) set_opt(sbi->s_mount_opt, ERRORS_RO); + else + set_opt(sbi->s_mount_opt, ERRORS_CONT); sbi->s_resuid = le16_to_cpu(es->s_def_resuid); sbi->s_resgid = le16_to_cpu(es->s_def_resgid); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/