From 5fcf70b53e17ba8ec68f7c0e851e47f0ebd12ffd Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 17 Nov 2016 19:48:05 -0800 Subject: [PATCH] Catch up to kernel's scoutfs_extent Signed-off-by: Zach Brown --- utils/src/format.h | 2 +- utils/src/print.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),