Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751770AbWB0Wag (ORCPT ); Mon, 27 Feb 2006 17:30:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751760AbWB0Waf (ORCPT ); Mon, 27 Feb 2006 17:30:35 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:58498 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1751770AbWB0Wae (ORCPT ); Mon, 27 Feb 2006 17:30:34 -0500 Message-Id: <20060227223326.328333000@sorel.sous-sol.org> References: <20060227223200.865548000@sorel.sous-sol.org> Date: Mon, 27 Feb 2006 14:32:07 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, Jeff Mahoney , Greg Kroah-Hartman Subject: [patch 07/39] [PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes Content-Disposition: inline; filename=reiserfs-disable-automatic-enabling-of-reiserfs-inode-attributes.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1535 Lines: 42 -stable review patch. If anyone has any objections, please let us know. ------------------ [PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes Unfortunately, the reiserfs_attrs_cleared bit in the superblock flag can lie. File systems have been observed with the bit set, yet still contain garbage in the stat data field, causing unpredictable results. This patch backs out the enable-by-default behavior. It eliminates the changes from: d50a5cd860ce721dbeac6a4f3c6e42abcde68cd8, and ef5e5414e7a83eb9b4295bbaba5464410b11e030. Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- fs/reiserfs/super.c | 2 -- 1 files changed, 2 deletions(-) --- linux-2.6.15.4.orig/fs/reiserfs/super.c +++ linux-2.6.15.4/fs/reiserfs/super.c @@ -1130,8 +1130,6 @@ static void handle_attrs(struct super_bl "reiserfs: cannot support attributes until flag is set in super-block"); REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS); } - } else if (le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared) { - REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ATTRS); } } -- - 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/