diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-02-12 23:21:26 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-02-13 16:22:55 +0100 |
commit | 9fe78033cb3b49fc20433c7bae057d1abacc3875 (patch) | |
tree | a61b62754e4fa4fd3fbb28a1034086088f2f5e77 | |
parent | 9aa0c422b82c15fee1ac5cd3b0fae2ebe358d64a (diff) |
btrfs-progs: print-tree: fix INODE_ITEM sequence and flags
dump-tree prints wrong sequence number and the flags numbers,
as we misplaced the printf args. This patch fixes it.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | print-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c index 5f37ef3e..45350fea 100644 --- a/print-tree.c +++ b/print-tree.c @@ -919,8 +919,8 @@ static void print_inode_item(struct extent_buffer *eb, btrfs_inode_uid(eb, ii), btrfs_inode_gid(eb, ii), (unsigned long long)btrfs_inode_rdev(eb,ii), - (unsigned long long)btrfs_inode_flags(eb,ii), (unsigned long long)btrfs_inode_sequence(eb, ii), + (unsigned long long)btrfs_inode_flags(eb,ii), flags_str); print_timespec(eb, btrfs_inode_atime(ii), "\t\tatime ", "\n"); print_timespec(eb, btrfs_inode_ctime(ii), "\t\tctime ", "\n"); |