diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-05-23 18:45:21 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-05-24 17:32:01 +0300 |
commit | d31d718528dd3686bf2163af5ef6d3afb65bb7aa (patch) | |
tree | 33aa9e4f3d3443f9c6c23dfee4e373ad53356f14 /net/unix/sysctl_net_unix.c | |
parent | 5cd213b0fec640a46adc5e6e4dfc7763aa54b3b2 (diff) | |
download | linux-d31d718528dd3686bf2163af5ef6d3afb65bb7aa.tar.xz |
xfs: fix broken log reservation debugging
xlog_print_tic_res() is supposed to print a human readable string for
each element of the log ticket reservation array. Unfortunately, I
forgot to update the string array when we added rmap & reflink support,
so the debug message prints "region[3]: (null) - 352 bytes" which isn't
useful at all. Add the missing elements and add a build check so that
we don't forget again to add a string when adding a new XLOG_REG_TYPE.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions