[PATCH 02/76] xfs: fix log ticket type printing
Christoph Hellwig
hch at infradead.org
Sun Jan 3 06:13:53 CST 2016
On Sat, Dec 19, 2015 at 12:56:36AM -0800, Darrick J. Wong wrote:
> Update the log ticket reservation type printing code to reflect
> all the types of log tickets, to avoid incorrect debug output and
> avoid running off the end of the array.
This looks okay, but I think we should use name array initializers
to make sure it doesn't got out of sync ever.
Also I don't think we'd ever run past the array as the users
does a size check.
More information about the xfs
mailing list