summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/uuid-tree.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2013-08-15 17:11:22 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:15:57 -0400
commit26432799c902b76e87f68f5c88f2146a78ba84af (patch)
tree42f9421a2bb76eada9778ef81d50e3f52656378b /fs/btrfs/uuid-tree.c
parent803b2f54fb4faf6d76fca43e59bcc555d9713cd4 (diff)
downloadlinux-stable-26432799c902b76e87f68f5c88f2146a78ba84af.tar.gz
linux-stable-26432799c902b76e87f68f5c88f2146a78ba84af.tar.bz2
linux-stable-26432799c902b76e87f68f5c88f2146a78ba84af.zip
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>
Diffstat (limited to 'fs/btrfs/uuid-tree.c')
0 files changed, 0 insertions, 0 deletions