xfstests: posix_memalign and io_submit do not set errno
authorChristoph Hellwig <hch@infradead.org>
Thu, 7 Nov 2013 17:00:45 +0000 (17:00 +0000)
committerRich Johnston <rjohnston@sgi.com>
Sat, 9 Nov 2013 19:06:44 +0000 (13:06 -0600)
commita16f0cfe3ad2f02109f31333703ca6f78ed6127d
tree51ef414740b5f1ee145104e7554eaf4d9bf5219b
parent812838f86d57b1182bec62b5d472037392ab7966
xfstests: posix_memalign and io_submit do not set errno

posix_memalign and io_submit do not set errno, but rather return the
error respectively the negated error directly.

Found this out while figuring out why 240 reported an impossible error
from io_submit when run on NFS.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
src/aio-dio-regress/aiodio_sparse2.c
src/fsync-tester.c
src/randholes.c
src/trunc.c