summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-02-19 16:34:31 +0300
committerChristian Brauner <brauner@kernel.org>2026-02-19 16:34:31 +0300
commit1a0c73b2aaf2198f36d8156b78e083c58806d47b (patch)
tree15890458c119b1e869e9670f36e37e93771dd95b /include/linux
parentf08fe8891c3eeb63b73f9f1f6d97aa629c821579 (diff)
parentbc014937bc112d4d44b3f3186fb8e87a3c80f735 (diff)
downloadlinux-1a0c73b2aaf2198f36d8156b78e083c58806d47b.tar.xz
Merge patch series "remove or unexport unused fs_conext infrastructure"
Christoph Hellwig <hch@lst.de> says: Now that the fs_context conversion is finished, remove all the bits that did not end up having users, or unexport them if the users are always built in. * patches from https://patch.msgid.link/20260219065014.3550402-1-hch@lst.de: fs: unexport fs_context_for_reconfigure fs: remove fsparam_path / fs_param_is_path fs: remove fsparam_blob / fs_param_is_blob fs: mark bool_names static Link: https://patch.msgid.link/20260219065014.3550402-1-hch@lst.de Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs_parser.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index 5e8a3b546033..98b83708f92b 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -27,8 +27,8 @@ typedef int fs_param_type(struct p_log *,
* The type of parameter expected.
*/
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_blob, fs_param_is_blockdev,
- fs_param_is_path, fs_param_is_fd, fs_param_is_uid, fs_param_is_gid,
+ fs_param_is_enum, fs_param_is_string, fs_param_is_blockdev,
+ fs_param_is_fd, fs_param_is_uid, fs_param_is_gid,
fs_param_is_file_or_string;
/*
@@ -84,8 +84,6 @@ extern int fs_lookup_param(struct fs_context *fc,
extern int lookup_constant(const struct constant_table tbl[], const char *name, int not_found);
-extern const struct constant_table bool_names[];
-
#ifdef CONFIG_VALIDATE_FS_PARSER
extern bool fs_validate_description(const char *name,
const struct fs_parameter_spec *desc);
@@ -127,9 +125,7 @@ static inline bool fs_validate_description(const char *name,
#define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)
#define fsparam_string(NAME, OPT) \
__fsparam(fs_param_is_string, NAME, OPT, 0, NULL)
-#define fsparam_blob(NAME, OPT) __fsparam(fs_param_is_blob, 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)