]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: introduce uuid-tree-gen field
authorStefan Behrens <sbehrens@giantdisaster.de>
Thu, 15 Aug 2013 15:11:22 +0000 (17:11 +0200)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:15:57 +0000 (08:15 -0400)
commitfb9d0e04c4140c7c999e09b196ad7884ca704986
tree42f9421a2bb76eada9778ef81d50e3f52656378b
parentf44d894a118eaff756632668ac4e89af44a3eeae
Btrfs: introduce uuid-tree-gen field

In order to be able to detect the case that a filesystem is mounted
with an old kernel, add a uuid-tree-gen field like the free space
cache is doing it. It is part of the super block and written with
each commit. Old kernels do not know this field and don't update it.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/transaction.c