[PATCH] fs/ntfs3: add fall-through between switch labels

Konstantin Komarov posted 1 patch 9 hours ago
fs/ntfs3/super.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] fs/ntfs3: add fall-through between switch labels
Posted by Konstantin Komarov 9 hours ago
Add fall-through to fix the warning in ntfs_fs_parse_param().

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602041402.uojBz5QY-lkp@intel.com/
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
 fs/ntfs3/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index 4f423d3a248c..a3c07f2b604f 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -385,6 +385,7 @@ static int ntfs_fs_parse_param(struct fs_context *fc,
 		break;
 	case Opt_acl_bool:
 		if (result.boolean) {
+			fallthrough;
 		case Opt_acl:
 #ifdef CONFIG_NTFS3_FS_POSIX_ACL
 			fc->sb_flags |= SB_POSIXACL;
-- 
2.43.0