]> granicus.if.org Git - strace/commit
btrfs: make BTRFS_IOC_GET_DEV_STATS error statistics output more structured
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Mar 2018 04:48:22 +0000 (05:48 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 20 Apr 2018 12:39:05 +0000 (12:39 +0000)
commitb4bd03187273e41690eda8b6d67ba98c43499600
treef9e395d5c3e70c8ee16c58b5a0728769e2c9f89b
parent9f1a22244f026eb4117743e6da560aa228f5d88a
btrfs: make BTRFS_IOC_GET_DEV_STATS error statistics output more structured

* btrfs.c (MPERS_PRINTER_DECL(btrfs_ioctl)) <case
BTRFS_IOC_GET_DEV_STATS>: Print array index in square brackets before
the value in order to avoid confusion.
* tests/btrfs.c (btrfs_test_get_dev_stats_ioctl): Update expected output.
btrfs.c
tests/btrfs.c