]> granicus.if.org Git - strace/commit
tests/btrfs.c: check BTRFS_IOC_SUBVOL_CREATE_V2 result
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Mar 2018 01:45:31 +0000 (02:45 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 20 Apr 2018 12:39:05 +0000 (12:39 +0000)
commite8f8904356cd3ccfc4c48c5bf14f3be81dae9c63
treebabe68fb1133b762763c2e347017645a5f570800
parent8c8321ee9e882f8f061cf035dc468bc7ce148a11
tests/btrfs.c: check BTRFS_IOC_SUBVOL_CREATE_V2 result

Otherwise the subsequent openat call fails with a cryptic message.

* tests/btrfs.c (btrfs_test_subvol_ioctls): Check return code of the
BTRFS_IOC_SUBVOL_CREATE_V2 ioctl call that is supposed to be successful.
tests/btrfs.c