]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ext2: Make ext2_params_spec static
authorJan Kara <jack@suse.cz>
Wed, 26 Feb 2025 16:57:51 +0000 (17:57 +0100)
committerJan Kara <jack@suse.cz>
Wed, 26 Feb 2025 17:00:24 +0000 (18:00 +0100)
It isn't used outside of fs/ext2/super.c.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: eab61d3260d7 ("ext2: convert to the new mount API")
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c

index 4b894d16937d333931cafea64161ae16d75cfe79..28ff47ec4be682171ce0bb60245837b04815456c 100644 (file)
@@ -442,7 +442,7 @@ static const struct constant_table ext2_param_errors[] = {
        {}
 };
 
-const struct fs_parameter_spec ext2_param_spec[] = {
+static const struct fs_parameter_spec ext2_param_spec[] = {
        fsparam_flag    ("bsddf", Opt_bsd_df),
        fsparam_flag    ("minixdf", Opt_minix_df),
        fsparam_flag    ("grpid", Opt_grpid),