Cope with xattr syscalls raising EOPNOTSUPP
authorSimon McVittie <smcv@collabora.com>
Mon, 16 Oct 2017 11:51:04 +0000 (12:51 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 16 Oct 2017 13:08:06 +0000 (13:08 +0000)
commita4723dafed722008ed1ee3c952b7ff8e3d9b9a45
tree308b8fb39b45f3f638b58be4f1c822d6352b9531
parent950318936286b1b1ffcc2894a846af447e8dab12
Cope with xattr syscalls raising EOPNOTSUPP

ENOTSUP and EOPNOTSUPP are numerically equal on most Linux ports,
but inexplicably differ on PA-RISC (hppa) and possibly other
rare architectures.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1275
Approved by: cgwalters
src/ostree/ot-builtin-create-usb.c
tests/libostreetest.c