diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-22 00:16:41 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-04-23 18:56:28 +0200 |
commit | 2417dd4cc99253db7daf8d694c6ce5c543d55def (patch) | |
tree | 26f966444a90d96720054b9f23a189d19c92f171 /btrfs-crc.c | |
parent | 3456bf086603d11ae77b15e381d6523105f75f15 (diff) |
btrfs-progs: update generation_v2 in btrfs_update_root
This addresses the same issue as did:
2bd1169 btrfs-progs: root_item generation_v2 is out of sync after btrfsck
but rather than optionally updating generation_v2 based
on the size of the existing item, increase the size of the
item as needed, and unconditionally set generation_v2.
This matches the kernel code, and keeping things in sync is a
Good Thing.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'btrfs-crc.c')
0 files changed, 0 insertions, 0 deletions