aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorGuo Weikang <[email protected]>2024-12-02 08:11:45 +0000
committerChristian Brauner <[email protected]>2024-12-22 10:29:52 +0000
commit4db9f52fa9b81addc412330957bb7a657d2f1ffb (patch)
treedae0c42ad79f1bbff2292310e0f224ab663a3316 /fs/proc/array.c
parentfs: use a consume fence in mnt_idmap() (diff)
downloadkernel-4db9f52fa9b81addc412330957bb7a657d2f1ffb.tar.gz
kernel-4db9f52fa9b81addc412330957bb7a657d2f1ffb.zip
fs: fc_log replace magic number 7 with ARRAY_SIZE()
Replace the hardcoded value `7` in `put_fc_log()` with `ARRAY_SIZE`. This improves maintainability by ensuring the loop adapts to changes in the buffer size. Signed-off-by: Guo Weikang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions