]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs/ntfs3: add fall-through between switch labels
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 9 Feb 2026 09:51:38 +0000 (10:51 +0100)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 9 Feb 2026 09:59:28 +0000 (10:59 +0100)
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

index 4f423d3a248c397b770a3392ff20ffdbaf473d35..a3c07f2b604fb8673f6653b5a4650cab114c31fe 100644 (file)
@@ -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;