]> granicus.if.org Git - strace/commit
btrfs: fix printing of struct btrfs_ioctl_quota_ctl_args
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Mar 2018 04:22:42 +0000 (05:22 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 20 Apr 2018 12:39:05 +0000 (12:39 +0000)
commit8d6fd581fbc4244cc342684b0348861c40c2ada1
tree37afd5f97fe1506247f0cf677aaafe792b80639a
parent114a710b7330374e2384f9ace5e9cbc1b8e811e9
btrfs: fix printing of struct btrfs_ioctl_quota_ctl_args

For some reason, he decoder of BTRFS_IOC_QUOTA_CTL command didn't print
opening curly brace and field name, only the closing curly brace.

* btrfs.c (MPERS_PRINTER_DECL(btrfs_ioctl)) <case BTRFS_IOC_QUOTA_CTL>:
Print "{cmd=".
* tests/btrfs.c (btrfs_test_quota_ctl_ioctl): Update expected output.

Fixes: v4.12~100 "ioctl: add decoding support for btrfs ioctls"
btrfs.c
tests/btrfs.c