]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: fix condition in __allow_reserved_blocks()
authorChao Yu <chao@kernel.org>
Thu, 31 Jul 2025 06:03:38 +0000 (14:03 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 11 Aug 2025 17:03:27 +0000 (17:03 +0000)
commite75ce117905d2830976a289e718470f3230fa30a
tree5f7bc49d87c4134063ff46d5aa90e389646ed83a
parent57e74035ad5e427ed301c2dc28e2b07a1d523175
f2fs: fix condition in __allow_reserved_blocks()

If reserve_root mount option is not assigned, __allow_reserved_blocks()
will return false, it's not correct, fix it.

Fixes: 7e65be49ed94 ("f2fs: add reserved blocks for root user")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h