[PATCH] xfs: trace xfs_name strings correctly

Ben Myers bpm at sgi.com
Mon Mar 26 13:37:36 CDT 2012


On Tue, Feb 28, 2012 at 06:01:40AM -0500, Christoph Hellwig wrote:
> Strings store in an xfs_name structure are often not NUL terminated,
> print them using the correct printf specifiers that make use of the
> string length store in the xfs_name structure.
> 
> Reported-by: Brian Candler <B.Candler at pobox.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.
Reviewed-by: Ben Myers <bpm at sgi.com>



More information about the xfs mailing list