> @@ -87,6 +86,10 @@ void btrfs_print_leaf(struct btrfs_root > print_dir_item(l->items + i, di); > break; > case BTRFS_DIR_INDEX_KEY: > + di = btrfs_item_ptr(l, i, struct btrfs_dir_item); > + print_dir_item(l->items + i, di); > + break; > + case BTRFS_XATTR_ITEM_KEY: > di = btrfs_item_ptr(l, i, struct btrfs_dir_item); > print_dir_item(l->items + i, di); > break;
It seems like that should just add the new 'case BTRFS_XATTR_ITEM_KEY:' to use the existing code for the DIR_INDEX instead of duplicating the code. - z _______________________________________________ Btrfs-devel mailing list [email protected] http://oss.oracle.com/mailman/listinfo/btrfs-devel
