xfs: fix log ticket type printing
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 Jan 2016 05:11:42 +0000 (16:11 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 4 Jan 2016 05:11:42 +0000 (16:11 +1100)
commit9b434a347c3d0aab5a14911fc65531e792da3ae6
treee178f344612148c7e5ea4bea47703747fa34943c
parent2e9101da6047796d7fdee292e10a5c23d5c8b7ee
xfs: fix log ticket type printing

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.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log.c