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_blob / fs_param_is_blob

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-3-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
8823db29 0d799df5

+1 -13
-2
Documentation/filesystems/mount_api.rst
··· 647 647 fs_param_is_u64 64-bit unsigned int result->uint_64 648 648 fs_param_is_enum Enum value name result->uint_32 649 649 fs_param_is_string Arbitrary string param->string 650 - fs_param_is_blob Binary blob param->blob 651 650 fs_param_is_blockdev Blockdev path * Needs lookup 652 651 fs_param_is_path Path * Needs lookup 653 652 fs_param_is_fd File descriptor result->int_32 ··· 680 681 fsparam_u64() fs_param_is_u64 681 682 fsparam_enum() fs_param_is_enum 682 683 fsparam_string() fs_param_is_string 683 - fsparam_blob() fs_param_is_blob 684 684 fsparam_bdev() fs_param_is_blockdev 685 685 fsparam_path() fs_param_is_path 686 686 fsparam_fd() fs_param_is_fd
-9
fs/fs_parser.c
··· 277 277 } 278 278 EXPORT_SYMBOL(fs_param_is_string); 279 279 280 - int fs_param_is_blob(struct p_log *log, const struct fs_parameter_spec *p, 281 - struct fs_parameter *param, struct fs_parse_result *result) 282 - { 283 - if (param->type != fs_value_is_blob) 284 - return fs_param_bad_value(log, param); 285 - return 0; 286 - } 287 - EXPORT_SYMBOL(fs_param_is_blob); 288 - 289 280 int fs_param_is_fd(struct p_log *log, const struct fs_parameter_spec *p, 290 281 struct fs_parameter *param, struct fs_parse_result *result) 291 282 {
+1 -2
include/linux/fs_parser.h
··· 27 27 * The type of parameter expected. 28 28 */ 29 29 fs_param_type fs_param_is_bool, fs_param_is_u32, fs_param_is_s32, fs_param_is_u64, 30 - fs_param_is_enum, fs_param_is_string, fs_param_is_blob, fs_param_is_blockdev, 30 + fs_param_is_enum, fs_param_is_string, fs_param_is_blockdev, 31 31 fs_param_is_path, fs_param_is_fd, fs_param_is_uid, fs_param_is_gid, 32 32 fs_param_is_file_or_string; 33 33 ··· 125 125 #define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array) 126 126 #define fsparam_string(NAME, OPT) \ 127 127 __fsparam(fs_param_is_string, NAME, OPT, 0, NULL) 128 - #define fsparam_blob(NAME, OPT) __fsparam(fs_param_is_blob, NAME, OPT, 0, NULL) 129 128 #define fsparam_bdev(NAME, OPT) __fsparam(fs_param_is_blockdev, NAME, OPT, 0, NULL) 130 129 #define fsparam_path(NAME, OPT) __fsparam(fs_param_is_path, NAME, OPT, 0, NULL) 131 130 #define fsparam_fd(NAME, OPT) __fsparam(fs_param_is_fd, NAME, OPT, 0, NULL)