diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-04 02:27:52 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-04 02:27:52 +0000 |
commit | df919efc5863943e2888bfaa08c561d37159fb4e (patch) | |
tree | 03d3782b394e8bbec2e601dae2fcadd81c7f7420 /sys/fs | |
parent | 231dd1c8cb579bf92d178f8f84a9a308d40912eb (diff) | |
download | FreeBSD-src-df919efc5863943e2888bfaa08c561d37159fb4e.zip FreeBSD-src-df919efc5863943e2888bfaa08c561d37159fb4e.tar.gz |
ext2fs: add two new reserved inodes.
According to online documentation [1], Ext4 has two new "special"
inodes so add the new exclude and replica inodes.
Reference:
[1] https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout
Reported by: Mike Ma
MFC after: 3 weeks
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_dinode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2_dinode.h b/sys/fs/ext2fs/ext2_dinode.h index e492a08..41b0236 100644 --- a/sys/fs/ext2fs/ext2_dinode.h +++ b/sys/fs/ext2fs/ext2_dinode.h @@ -44,6 +44,8 @@ #define EXT2_UNDELDIRINO ((ino_t)6) #define EXT2_RESIZEINO ((ino_t)7) #define EXT2_JOURNALINO ((ino_t)8) +#define EXT2_EXCLUDEINO ((ino_t)9) +#define EXT2_REPLICAINO ((ino_t)10) #define EXT2_FIRSTINO ((ino_t)11) /* |