xfs: convert RUI log formats to use variable length arrays
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Sep 2016 00:24:27 +0000 (10:24 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 00:24:27 +0000 (10:24 +1000)
commitcd00158ce34d6e2c42d8892e8499779b8ac1d2bf
treed35fb35e93820365979f4c8f8f293ab5d354b439
parentea78d80866ce375defb2fdd1c8a3aafec95e0f85
xfs: convert RUI log formats to use variable length arrays

Use variable length array declarations for RUI log items,
and replace the open coded sizeof formulae with a single function.

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/libxfs/xfs_log_format.h
fs/xfs/xfs_rmap_item.c
fs/xfs/xfs_rmap_item.h
fs/xfs/xfs_super.c