[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150126152641.GA31455@thunk.org>
Date: Mon, 26 Jan 2015 10:26:41 -0500
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>,
mhalcrow@...gle.com, savagaon@...gle.com, muslukhovi@...il.com
Subject: Re: [PATCH] ext4: reserve codepoints used by the ext4 encryption
feature
On Fri, Jan 23, 2015 at 11:41:25AM -0800, Darrick J. Wong wrote:
> On Fri, Jan 23, 2015 at 02:36:21PM -0500, Theodore Ts'o wrote:
> > Signed-off-by: Theodore Ts'o <tytso@....edu>
> > ---
> > fs/ext4/ext4.h | 17 +++++++++++++----
> > 1 file changed, 13 insertions(+), 4 deletions(-)
> >
> > diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
> > index a75fba6..b7f393d 100644
> > --- a/fs/ext4/ext4.h
> > +++ b/fs/ext4/ext4.h
> > @@ -364,7 +364,8 @@ struct flex_groups {
> > #define EXT4_DIRTY_FL 0x00000100
> > #define EXT4_COMPRBLK_FL 0x00000200 /* One or more compressed clusters */
> > #define EXT4_NOCOMPR_FL 0x00000400 /* Don't compress */
> > -#define EXT4_ECOMPR_FL 0x00000800 /* Compression error */
> > + /* nb: was previously EXT2_ECOMPR_FL */
> > +#define EXT4_ENCRYPT_FL 0x00000800 /* encrypted file */
> > /* End compression flags --- maybe not all used */
> > #define EXT4_INDEX_FL 0x00001000 /* hash-indexed directory */
> > #define EXT4_IMAGIC_FL 0x00002000 /* AFS directory */
> > @@ -421,7 +422,7 @@ enum {
> > EXT4_INODE_DIRTY = 8,
> > EXT4_INODE_COMPRBLK = 9, /* One or more compressed clusters */
> > EXT4_INODE_NOCOMPR = 10, /* Don't compress */
> > - EXT4_INODE_ECOMPR = 11, /* Compression error */
> > + EXT4_INODE_ENCRYPT = 11, /* Compression error */
>
> Encryption error?
No, it should actually be "inode is encrypted". My bad for not
catching the error in the comment; I'll fix that up.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists