]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libfrog/ptvar.c
libfrog: fix per-thread variable error communication problems
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 17 Oct 2019 02:35:08 +0000 (22:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 17 Oct 2019 02:35:08 +0000 (22:35 -0400)
commitcb321a3959a5a234e8d107966861ad36f68eee6a
tree931935729ae6d73829fe3d524bfee16451612841
parent7668d01d4b4ef72933cd686940e2b15615342df2
libfrog: fix per-thread variable error communication problems

Convert all the per-thread variable functions away from the libc-style
indirect errno return to return error values directly to callers.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
[sandeen: initialize ret in ptvar_foreach]
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libfrog/ptvar.c
libfrog/ptvar.h
scrub/counter.c
scrub/phase7.c
scrub/read_verify.c