From: Radek Pazdera <rpazdera@redhat.com>
To: linux-ext4@vger.kernel.org
Cc: lczerner@redhat.com, kasparek@fit.vutbr.cz,
Radek Pazdera <rpazdera@redhat.com>
Subject: [PATCH 2/3] libext2fs: Adding inode flag for itree
Date: Sat, 4 May 2013 23:35:09 +0200 [thread overview]
Message-ID: <1367703310-3842-3-git-send-email-rpazdera@redhat.com> (raw)
In-Reply-To: <1367703310-3842-1-git-send-email-rpazdera@redhat.com>
This commit reserves an inode flag for the itree.
EXT4_ITREE_FL 0x20000000
Signed-off-by: Radek Pazdera <rpazdera@redhat.com>
---
lib/e2p/pf.c | 1 +
lib/ext2fs/ext2_fs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/e2p/pf.c b/lib/e2p/pf.c
index f116ac3..c70b710 100644
--- a/lib/e2p/pf.c
+++ b/lib/e2p/pf.c
@@ -51,6 +51,7 @@ static struct flags_name flags_array[] = {
{ EXT4_HUGE_FILE_FL, "h", "Huge_file" },
{ FS_NOCOW_FL, "C", "No_COW" },
{ EXT4_INLINE_DATA_FL, "N", "Inline_Data" },
+ { EXT4_ITREE_FL, "r", "Has_Itree" },
{ 0, NULL, NULL }
};
diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h
index be711ce..7bdae5e 100644
--- a/lib/ext2fs/ext2_fs.h
+++ b/lib/ext2fs/ext2_fs.h
@@ -320,6 +320,7 @@ struct ext2_dx_tail {
#define EXT4_SNAPFILE_DELETED_FL 0x04000000 /* Snapshot is being deleted */
#define EXT4_SNAPFILE_SHRUNK_FL 0x08000000 /* Snapshot shrink has completed */
#define EXT4_INLINE_DATA_FL 0x10000000 /* Inode has inline data */
+#define EXT4_ITREE_FL 0x20000000 /* Directory has itree */
#define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
#define EXT2_FL_USER_VISIBLE 0x004BDFFF /* User visible flags */
--
1.7.11.7
next prev parent reply other threads:[~2013-05-04 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 21:35 [PATCH 0/3] e2fsprogs: Adding itree feature/inode flags Radek Pazdera
2013-05-04 21:35 ` [PATCH 1/3] libext2fs: Adding itree feature flag Radek Pazdera
2013-05-04 21:35 ` Radek Pazdera [this message]
2013-05-04 21:35 ` [PATCH 3/3] mke2fs, tune2fs: Adding support for the itree flag Radek Pazdera
2013-05-05 3:24 ` [PATCH 0/3] e2fsprogs: Adding itree feature/inode flags Andreas Dilger
2013-05-07 12:47 ` Radek Pazdera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1367703310-3842-3-git-send-email-rpazdera@redhat.com \
--to=rpazdera@redhat.com \
--cc=kasparek@fit.vutbr.cz \
--cc=lczerner@redhat.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).