This series introduces feature flags that allow nilfs to confirm
feature compatibility of filesystem.
The first patch is just for improving readability of super block
format. The second patch extends super block and adds three flags to
store feature sets (i.e. compat features, read-only compat
This adds three new fields to nilfs_super_block structure, compatible
feature set, readonly-compatible feature set, and incompatible feature
set in order to prepare for future disk format modifications.
The role of these fields conforms to those of ext3 or other
filesystems. Most important flags
This forces nilfs to check compatibility of feature flags when it
mounts or remounts the filesystem so that it rejects the filesystem
with unknown features.
Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp
---
fs/nilfs2/nilfs.h |2 ++
fs/nilfs2/super.c | 39
This inserts comments indicating hexadecimal offset in declaration of
nilfs_super_block structure so that people can know offset of its
fields without counting from the head.
Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp
---
include/linux/nilfs2_fs.h | 26