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: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NDave Chinner <dchinner@redhat.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
Showing
想要评论请 注册 或 登录