]> 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)
commit14fe5a04537bef090a4a5527c0aa9acd8939fa6c
tree42f9421a2bb76eada9778ef81d50e3f52656378b
parentaf7fd1efa761465b9781e2b90396c7382f7168f5
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