f2fs: fix macro definition on_f2fs_build_free_nids
authorJulian Sun <sunjunchao2870@gmail.com>
Mon, 22 Jul 2024 02:39:12 +0000 (22:39 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 5 Aug 2024 20:18:35 +0000 (20:18 +0000)
commitd1e1ff971d1aafeaedda69136e6974e3a8792cbd
treeeb790c502a3a52131952f161a9d82299d19363f6
parent8444ce524947daf441546b5b3a0c418706dade35
f2fs: fix macro definition on_f2fs_build_free_nids

The macro on_f2fs_build_free_nids accepts a parameter nmi,
but it was not used, rather the variable nm_i was directly used,
which may be a local variable inside a function that calls the macros.

Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c