-                               if(ri->generation == ri->generation_v2) {
+                               if(sh->len == sizeof(struct btrfs_root_item)) {
                                        t = ri->otime.sec;

 This looks fine now but should this work when we
 move to v3 and still have access to v2 introduced
 members.?

 ker cli
 v3  v2  v2 introduced members are unnecessarily blocked
 v2  v3  --as above--

Thanks, Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to