Btrfs: always update root items for fs trees at commit time
authorYan Zheng <zheng.yan@oracle.com>
Tue, 16 Jun 2009 00:01:02 +0000 (20:01 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 16 Jun 2009 00:01:02 +0000 (20:01 -0400)
commit_fs_roots skips updating root items for fs trees that aren't modified.
This is unsafe now that relocation code modifies root item's last_snapshot
field without modifying corresponding fs tree.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found