]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs: remove fsparam_path / fs_param_is_path
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Feb 2026 06:50:03 +0000 (07:50 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 19 Feb 2026 13:34:26 +0000 (14:34 +0100)
These are not used anywhere even after the fs_context conversion is
finished, so remove them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260219065014.3550402-4-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/mount_api.rst
fs/fs_parser.c
include/linux/fs_parser.h

index b4a0f23914a6825e6532dfde62216f16b9ff0d3f..e8b94357b4dffca69ee9ee8c2839bb0fb1ce8958 100644 (file)
@@ -648,7 +648,6 @@ The members are as follows:
        fs_param_is_enum        Enum value name         result->uint_32
        fs_param_is_string      Arbitrary string        param->string
        fs_param_is_blockdev    Blockdev path           * Needs lookup
-       fs_param_is_path        Path                    * Needs lookup
        fs_param_is_fd          File descriptor         result->int_32
        fs_param_is_uid         User ID (u32)           result->uid
        fs_param_is_gid         Group ID (u32)          result->gid
@@ -681,7 +680,6 @@ The members are as follows:
        fsparam_enum()          fs_param_is_enum
        fsparam_string()        fs_param_is_string
        fsparam_bdev()          fs_param_is_blockdev
-       fsparam_path()          fs_param_is_path
        fsparam_fd()            fs_param_is_fd
        fsparam_uid()           fs_param_is_uid
        fsparam_gid()           fs_param_is_gid
index 79e8fe9176fa226d23c16d682d71414b8b95e100..b4cc4cce518a21a3bf0ed1f9752fbc11c443aa4a 100644 (file)
@@ -361,13 +361,6 @@ int fs_param_is_blockdev(struct p_log *log, const struct fs_parameter_spec *p,
 }
 EXPORT_SYMBOL(fs_param_is_blockdev);
 
-int fs_param_is_path(struct p_log *log, const struct fs_parameter_spec *p,
-                    struct fs_parameter *param, struct fs_parse_result *result)
-{
-       return 0;
-}
-EXPORT_SYMBOL(fs_param_is_path);
-
 #ifdef CONFIG_VALIDATE_FS_PARSER
 /**
  * fs_validate_description - Validate a parameter specification array
index 961562b101c5c9266d3addab89b94e3232da741a..98b83708f92b5613bc86dd7343bb3c46a8b837be 100644 (file)
@@ -28,7 +28,7 @@ typedef int fs_param_type(struct p_log *,
  */
 fs_param_type fs_param_is_bool, fs_param_is_u32, fs_param_is_s32, fs_param_is_u64,
        fs_param_is_enum, fs_param_is_string, fs_param_is_blockdev,
-       fs_param_is_path, fs_param_is_fd, fs_param_is_uid, fs_param_is_gid,
+       fs_param_is_fd, fs_param_is_uid, fs_param_is_gid,
        fs_param_is_file_or_string;
 
 /*
@@ -126,7 +126,6 @@ static inline bool fs_validate_description(const char *name,
 #define fsparam_string(NAME, OPT) \
                                __fsparam(fs_param_is_string, NAME, OPT, 0, NULL)
 #define fsparam_bdev(NAME, OPT)        __fsparam(fs_param_is_blockdev, NAME, OPT, 0, NULL)
-#define fsparam_path(NAME, OPT)        __fsparam(fs_param_is_path, NAME, OPT, 0, NULL)
 #define fsparam_fd(NAME, OPT)  __fsparam(fs_param_is_fd, NAME, OPT, 0, NULL)
 #define fsparam_file_or_string(NAME, OPT) \
                                __fsparam(fs_param_is_file_or_string, NAME, OPT, 0, NULL)