diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2024-11-03 20:19:21 -0800 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-05 13:38:40 -0800 |
| commit | 21e62bddf0efdf89223d7094b9e9089a3a345807 (patch) | |
| tree | 4f058113d3a03c48faf5718a6f304bd0500918b3 /fs/xfs/libxfs/xfs_rtbitmap.c | |
| parent | xfs: add frextents to the lazysbcounters when rtgroups enabled (diff) | |
| download | linux-21e62bddf0efdf89223d7094b9e9089a3a345807.tar.gz 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/libxfs/xfs_rtbitmap.c')
0 files changed, 0 insertions, 0 deletions
