]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: fix macro definition stat_inc_cp_count
authorJulian Sun <sunjunchao2870@gmail.com>
Mon, 22 Jul 2024 02:39:13 +0000 (22:39 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 5 Aug 2024 20:18:35 +0000 (20:18 +0000)
commitd72750e4a7528b83a07b65335c35b454a98593d4
tree6cf24c24161a56efa24d99e54ddf84eac68d0b44
parentd1e1ff971d1aafeaedda69136e6974e3a8792cbd
f2fs: fix macro definition stat_inc_cp_count

The macro stat_inc_cp_count accepts a parameter si,
but it was not used, rather the variable sbi 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/f2fs.h