Btrfs: add support for compat flags to btrfs
authorJosef Bacik <jbacik@redhat.com>
Tue, 2 Dec 2008 11:36:08 +0000 (06:36 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 11:36:08 +0000 (06:36 -0500)
This adds the necessary disk format for handling compatibility flags
in the future to handle disk format changes.  We have a compat_flags,
compat_ro_flags and incompat_flags set for the super block.  Compat
flags will be to hold the features that are compatible with older
versions of btrfs, compat_ro flags have features that are compatible
with older versions of btrfs if the fs is mounted read only, and
incompat_flags has features that are incompatible with older versions
of btrfs.  This also axes the compat_flags field for the inode and
just makes the flags field a 64bit field, and changes the root item
flags field to 64bit.

Signed-off-by: Josef Bacik <jbacik@redhat.com>

No differences found