Re: [PATCH 02/76] xfs: fix log ticket type printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux