summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-03 20:19:21 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-11-05 13:38:40 -0800
commit21e62bddf0efdf89223d7094b9e9089a3a345807 (patch)
tree4f058113d3a03c48faf5718a6f304bd0500918b3 /fs/xfs/xfs_trans_priv.h
parent35537f25d23697716f0070ea0a6e8b3f1fe10196 (diff)
downloadlinux-21e62bddf0efdf89223d7094b9e9089a3a345807.tar.gz
linux-21e62bddf0efdf89223d7094b9e9089a3a345807.tar.bz2
linux-21e62bddf0efdf89223d7094b9e9089a3a345807.zip
xfs: convert sick_map loops to use ARRAY_SIZE
Convert these arrays to use ARRAY_SIZE insteead of requiring an empty sentinel array element at the end. This saves memory and would have avoided a bug that worked its way into the next patch. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
0 files changed, 0 insertions, 0 deletions