Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fs: remove fsparam_path / fs_param_is_path

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>

authored by

Christoph Hellwig and committed by
Christian Brauner
d2f2f7cf 8823db29

+1 -11
-2
Documentation/filesystems/mount_api.rst
··· 648 648 fs_param_is_enum Enum value name result->uint_32 649 649 fs_param_is_string Arbitrary string param->string 650 650 fs_param_is_blockdev Blockdev path * Needs lookup 651 - fs_param_is_path Path * Needs lookup 652 651 fs_param_is_fd File descriptor result->int_32 653 652 fs_param_is_uid User ID (u32) result->uid 654 653 fs_param_is_gid Group ID (u32) result->gid ··· 680 681 fsparam_enum() fs_param_is_enum 681 682 fsparam_string() fs_param_is_string 682 683 fsparam_bdev() fs_param_is_blockdev 683 - fsparam_path() fs_param_is_path 684 684 fsparam_fd() fs_param_is_fd 685 685 fsparam_uid() fs_param_is_uid 686 686 fsparam_gid() fs_param_is_gid
-7
fs/fs_parser.c
··· 361 361 } 362 362 EXPORT_SYMBOL(fs_param_is_blockdev); 363 363 364 - int fs_param_is_path(struct p_log *log, const struct fs_parameter_spec *p, 365 - struct fs_parameter *param, struct fs_parse_result *result) 366 - { 367 - return 0; 368 - } 369 - EXPORT_SYMBOL(fs_param_is_path); 370 - 371 364 #ifdef CONFIG_VALIDATE_FS_PARSER 372 365 /** 373 366 * fs_validate_description - Validate a parameter specification array
+1 -2
include/linux/fs_parser.h
··· 28 28 */ 29 29 fs_param_type fs_param_is_bool, fs_param_is_u32, fs_param_is_s32, fs_param_is_u64, 30 30 fs_param_is_enum, fs_param_is_string, fs_param_is_blockdev, 31 - fs_param_is_path, fs_param_is_fd, fs_param_is_uid, fs_param_is_gid, 31 + fs_param_is_fd, fs_param_is_uid, fs_param_is_gid, 32 32 fs_param_is_file_or_string; 33 33 34 34 /* ··· 126 126 #define fsparam_string(NAME, OPT) \ 127 127 __fsparam(fs_param_is_string, NAME, OPT, 0, NULL) 128 128 #define fsparam_bdev(NAME, OPT) __fsparam(fs_param_is_blockdev, NAME, OPT, 0, NULL) 129 - #define fsparam_path(NAME, OPT) __fsparam(fs_param_is_path, NAME, OPT, 0, NULL) 130 129 #define fsparam_fd(NAME, OPT) __fsparam(fs_param_is_fd, NAME, OPT, 0, NULL) 131 130 #define fsparam_file_or_string(NAME, OPT) \ 132 131 __fsparam(fs_param_is_file_or_string, NAME, OPT, 0, NULL)