Unverified Commit 4db9f52f authored by Guo Weikang's avatar Guo Weikang Committed by Christian Brauner
Browse files

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: default avatarGuo Weikang <guoweikang.kernel@gmail.com>
Link: https://lore.kernel.org/r/20241202081146.1031780-1-guoweikang.kernel@gmail.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 3212a8f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment