[PATCH] xfstests: aio-stress is calling pthread_join incorrectly

Ben Myers bpm at sgi.com
Wed Jun 26 11:22:56 CDT 2013


On Wed, Jun 19, 2013 at 09:13:14AM +1000, Dave Chinner wrote:
> On Tue, Jun 18, 2013 at 05:57:00PM -0500, Dave Kleikamp wrote:
> > The retval parameter to pthread_join() is a pointer to a pointer.
> > aio-stress is passing in a pointer to an int. This can result in a bus
> > error on sparc64 when the pointer is not aligned on a 64-bit boundary.
> > Since the return value is not used, it is simplest to pass a NULL
> > pointer instead.
> > 
> > This has been fixed in the LTP source:
> > https://github.com/linux-test-project/ltp/commit/981d33aad3b33c4625b88990fbf2fad5470d47e0
> > 
> > Signed-off-by: Dave Kleikamp <dave.kleikamp at oracle.com>
> 
> Looks good. Thanks, Shaggy.
> 
> Reviewed-by: Dave Chinner <dchinner at redhat.com>

Applied.



More information about the xfs mailing list