diff --git a/utils/src/format.h b/utils/src/format.h index 66c27847..a30f348d 100644 --- a/utils/src/format.h +++ b/utils/src/format.h @@ -293,7 +293,7 @@ struct scoutfs_xattr { __u8 name[0]; } __packed; -struct scoutfs_file_extent { +struct scoutfs_extent { __le64 blkno; __le64 len; __u8 flags; diff --git a/utils/src/print.c b/utils/src/print.c index 91655582..3ee17643 100644 --- a/utils/src/print.c +++ b/utils/src/print.c @@ -126,7 +126,7 @@ static void print_symlink(char *str, unsigned int val_len) (flags & f) ? str : "", (flags & (f - 1)) ? "|" : "" static void print_extent(struct scoutfs_key *key, - struct scoutfs_file_extent *ext) + struct scoutfs_extent *ext) { printf(" extent: (offest %llu) blkno %llu, len %llu flags %s%s\n", le64_to_cpu(key->offset), le64_to_cpu(ext->blkno),