Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753867Ab2B0C2y (ORCPT ); Sun, 26 Feb 2012 21:28:54 -0500 Received: from li9-11.members.linode.com ([67.18.176.11]:36832 "EHLO test.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753778Ab2B0C2D (ORCPT ); Sun, 26 Feb 2012 21:28:03 -0500 Date: Sun, 26 Feb 2012 19:33:12 -0500 From: "Ted Ts'o" To: David Howells Cc: linux-fsdevel@vger.kernel.org, viro@ZenIV.linux.org.uk, valerie.aurora@gmail.com, linux-kernel@vger.kernel.org, Valerie Aurora , Jan Blunck , Jan Kara , linux-ext4@vger.kernel.org Subject: Re: [PATCH 69/73] ext2: Add fallthru support [ver #2] Message-ID: <20120227003312.GC8044@thunk.org> Mail-Followup-To: Ted Ts'o , David Howells , linux-fsdevel@vger.kernel.org, viro@ZenIV.linux.org.uk, valerie.aurora@gmail.com, linux-kernel@vger.kernel.org, Valerie Aurora , Jan Blunck , Jan Kara , linux-ext4@vger.kernel.org References: <20120221175721.25235.8901.stgit@warthog.procyon.org.uk> <20120221180611.25235.63025.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120221180611.25235.63025.stgit@warthog.procyon.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on test.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1381 Lines: 34 On Tue, Feb 21, 2012 at 06:06:11PM +0000, David Howells wrote: > From: Valerie Aurora > > Add support for fallthru directory entries to ext2. As I mentioned, I wonder if it makes sense combine the patches for whiteout and fallthrough director entries into a single patch. Given that the two patches modify the same functions, and in some cases second modifies lines added or modified by first, it just makes life easier if the two are folded together. > --- a/include/linux/ext2_fs.h > +++ b/include/linux/ext2_fs.h > @@ -506,11 +506,14 @@ struct ext2_super_block { > #define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 > #define EXT2_FEATURE_INCOMPAT_META_BG 0x0010 > #define EXT2_FEATURE_INCOMPAT_WHITEOUT 0x0020 > +/* ext3/4 incompat flags take up the intervening constants */ > +#define EXT2_FEATURE_INCOMPAT_FALLTHRU 0x2000 ... and the codepoint 0x2000 in the INCOMPAT mask has since already been assigned. As I mentioned in a comment to the previous patch, any objections if you combine these two fields into a single ROCOMPAT feature? #define EXT2_FEATURE_RO_COMPAT_UNION_MOUNT 0x0800 - Ted -- 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/