* remove or unexport unused fs_conext infrastructure
@ 2026-02-19 6:50 Christoph Hellwig
2026-02-19 6:50 ` [PATCH 1/4] fs: mark bool_names static Christoph Hellwig
` (5 more replies)
0 siblings, 6 replies; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-19 6:50 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner; +Cc: Jan Kara, linux-fsdevel
Hi all,
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.
Diffstat:
Documentation/filesystems/mount_api.rst | 4 ----
fs/fs_context.c | 1 -
fs/fs_parser.c | 19 +------------------
include/linux/fs_parser.h | 8 ++------
4 files changed, 3 insertions(+), 29 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/4] fs: mark bool_names static
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
@ 2026-02-19 6:50 ` Christoph Hellwig
2026-02-19 6:50 ` [PATCH 2/4] fs: remove fsparam_blob / fs_param_is_blob Christoph Hellwig
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-19 6:50 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner; +Cc: Jan Kara, linux-fsdevel
The bool_names array is only used in fs_parser.c so mark it static.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
fs/fs_parser.c | 3 +--
include/linux/fs_parser.h | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index c092a9f79e32..46993e31137d 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -13,7 +13,7 @@
#include <linux/namei.h>
#include "internal.h"
-const struct constant_table bool_names[] = {
+static const struct constant_table bool_names[] = {
{ "0", false },
{ "1", true },
{ "false", false },
@@ -22,7 +22,6 @@ const struct constant_table bool_names[] = {
{ "yes", true },
{ },
};
-EXPORT_SYMBOL(bool_names);
static const struct constant_table *
__lookup_constant(const struct constant_table *tbl, const char *name)
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index 5e8a3b546033..ac8253cca2bc 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -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);
--
2.47.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/4] fs: remove fsparam_blob / fs_param_is_blob
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
2026-02-19 6:50 ` [PATCH 1/4] fs: mark bool_names static Christoph Hellwig
@ 2026-02-19 6:50 ` Christoph Hellwig
2026-02-19 6:50 ` [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path Christoph Hellwig
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-19 6:50 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner; +Cc: Jan Kara, linux-fsdevel
These are not used anywhere even after the fs_context conversion is
finished, so remove them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
Documentation/filesystems/mount_api.rst | 2 --
fs/fs_parser.c | 9 ---------
include/linux/fs_parser.h | 3 +--
3 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
index a064234fed5b..b4a0f23914a6 100644
--- a/Documentation/filesystems/mount_api.rst
+++ b/Documentation/filesystems/mount_api.rst
@@ -647,7 +647,6 @@ The members are as follows:
fs_param_is_u64 64-bit unsigned int result->uint_64
fs_param_is_enum Enum value name result->uint_32
fs_param_is_string Arbitrary string param->string
- fs_param_is_blob Binary blob param->blob
fs_param_is_blockdev Blockdev path * Needs lookup
fs_param_is_path Path * Needs lookup
fs_param_is_fd File descriptor result->int_32
@@ -681,7 +680,6 @@ The members are as follows:
fsparam_u64() fs_param_is_u64
fsparam_enum() fs_param_is_enum
fsparam_string() fs_param_is_string
- fsparam_blob() fs_param_is_blob
fsparam_bdev() fs_param_is_blockdev
fsparam_path() fs_param_is_path
fsparam_fd() fs_param_is_fd
diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index 46993e31137d..79e8fe9176fa 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -277,15 +277,6 @@ int fs_param_is_string(struct p_log *log, const struct fs_parameter_spec *p,
}
EXPORT_SYMBOL(fs_param_is_string);
-int fs_param_is_blob(struct p_log *log, const struct fs_parameter_spec *p,
- struct fs_parameter *param, struct fs_parse_result *result)
-{
- if (param->type != fs_value_is_blob)
- return fs_param_bad_value(log, param);
- return 0;
-}
-EXPORT_SYMBOL(fs_param_is_blob);
-
int fs_param_is_fd(struct p_log *log, const struct fs_parameter_spec *p,
struct fs_parameter *param, struct fs_parse_result *result)
{
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index ac8253cca2bc..961562b101c5 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -27,7 +27,7 @@ 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_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_file_or_string;
@@ -125,7 +125,6 @@ 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)
--
2.47.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
2026-02-19 6:50 ` [PATCH 1/4] fs: mark bool_names static Christoph Hellwig
2026-02-19 6:50 ` [PATCH 2/4] fs: remove fsparam_blob / fs_param_is_blob Christoph Hellwig
@ 2026-02-19 6:50 ` Christoph Hellwig
2026-02-19 16:04 ` Darrick J. Wong
2026-02-19 6:50 ` [PATCH 4/4] fs: unexport fs_context_for_reconfigure Christoph Hellwig
` (2 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-19 6:50 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner; +Cc: Jan Kara, linux-fsdevel
These are not used anywhere even after the fs_context conversion is
finished, so remove them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
Documentation/filesystems/mount_api.rst | 2 --
fs/fs_parser.c | 7 -------
include/linux/fs_parser.h | 3 +--
3 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
index b4a0f23914a6..e8b94357b4df 100644
--- a/Documentation/filesystems/mount_api.rst
+++ b/Documentation/filesystems/mount_api.rst
@@ -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
diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index 79e8fe9176fa..b4cc4cce518a 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -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
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index 961562b101c5..98b83708f92b 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -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)
--
2.47.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/4] fs: unexport fs_context_for_reconfigure
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
` (2 preceding siblings ...)
2026-02-19 6:50 ` [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path Christoph Hellwig
@ 2026-02-19 6:50 ` Christoph Hellwig
2026-02-19 11:45 ` remove or unexport unused fs_conext infrastructure Jan Kara
2026-02-19 13:35 ` Christian Brauner
5 siblings, 0 replies; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-19 6:50 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner; +Cc: Jan Kara, linux-fsdevel
fs_context_for_reconfigure is only used by core VFS code and devtmpfs,
so unexport it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
fs/fs_context.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/fs_context.c b/fs/fs_context.c
index 81ed94f46cac..4a7b8fde4c5c 100644
--- a/fs/fs_context.c
+++ b/fs/fs_context.c
@@ -318,7 +318,6 @@ struct fs_context *fs_context_for_reconfigure(struct dentry *dentry,
return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags,
sb_flags_mask, FS_CONTEXT_FOR_RECONFIGURE);
}
-EXPORT_SYMBOL(fs_context_for_reconfigure);
/**
* fs_context_for_submount: allocate a new fs_context for a submount
--
2.47.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: remove or unexport unused fs_conext infrastructure
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
` (3 preceding siblings ...)
2026-02-19 6:50 ` [PATCH 4/4] fs: unexport fs_context_for_reconfigure Christoph Hellwig
@ 2026-02-19 11:45 ` Jan Kara
2026-02-19 13:35 ` Christian Brauner
5 siblings, 0 replies; 10+ messages in thread
From: Jan Kara @ 2026-02-19 11:45 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Alexander Viro, Christian Brauner, Jan Kara, linux-fsdevel
Hi!
On Thu 19-02-26 07:50:00, Christoph Hellwig wrote:
> 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.
The patches look good. Feel free to add:
Reviewed-by: Jan Kara <jack@suse.cz>
Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: remove or unexport unused fs_conext infrastructure
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
` (4 preceding siblings ...)
2026-02-19 11:45 ` remove or unexport unused fs_conext infrastructure Jan Kara
@ 2026-02-19 13:35 ` Christian Brauner
5 siblings, 0 replies; 10+ messages in thread
From: Christian Brauner @ 2026-02-19 13:35 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Christian Brauner, Jan Kara, linux-fsdevel, Alexander Viro
On Thu, 19 Feb 2026 07:50:00 +0100, Christoph Hellwig wrote:
> 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.
>
> Diffstat:
> Documentation/filesystems/mount_api.rst | 4 ----
> fs/fs_context.c | 1 -
> fs/fs_parser.c | 19 +------------------
> include/linux/fs_parser.h | 8 ++------
> 4 files changed, 3 insertions(+), 29 deletions(-)
>
> [...]
Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.misc
[1/4] fs: mark bool_names static
https://git.kernel.org/vfs/vfs/c/0d799df5b147
[2/4] fs: remove fsparam_blob / fs_param_is_blob
https://git.kernel.org/vfs/vfs/c/8823db29744f
[3/4] fs: remove fsparam_path / fs_param_is_path
https://git.kernel.org/vfs/vfs/c/d2f2f7cf8e89
[4/4] fs: unexport fs_context_for_reconfigure
https://git.kernel.org/vfs/vfs/c/bc014937bc11
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path
2026-02-19 6:50 ` [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path Christoph Hellwig
@ 2026-02-19 16:04 ` Darrick J. Wong
2026-02-20 15:24 ` Christoph Hellwig
0 siblings, 1 reply; 10+ messages in thread
From: Darrick J. Wong @ 2026-02-19 16:04 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Alexander Viro, Christian Brauner, Jan Kara, linux-fsdevel
On Thu, Feb 19, 2026 at 07:50:03AM +0100, Christoph Hellwig wrote:
> These are not used anywhere even after the fs_context conversion is
> finished, so remove them.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> Documentation/filesystems/mount_api.rst | 2 --
> fs/fs_parser.c | 7 -------
> include/linux/fs_parser.h | 3 +--
> 3 files changed, 1 insertion(+), 11 deletions(-)
>
> diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
> index b4a0f23914a6..e8b94357b4df 100644
> --- a/Documentation/filesystems/mount_api.rst
> +++ b/Documentation/filesystems/mount_api.rst
> @@ -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
Unrelated: should xfs be using fsparam_bdev for its logdev/rtdev mount
options?
Or, more crazily, should it grow logfd/rtfd options that use fsparam_fd?
This patch looks ok,
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> - 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
> diff --git a/fs/fs_parser.c b/fs/fs_parser.c
> index 79e8fe9176fa..b4cc4cce518a 100644
> --- a/fs/fs_parser.c
> +++ b/fs/fs_parser.c
> @@ -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
> diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
> index 961562b101c5..98b83708f92b 100644
> --- a/include/linux/fs_parser.h
> +++ b/include/linux/fs_parser.h
> @@ -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)
> --
> 2.47.3
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path
2026-02-19 16:04 ` Darrick J. Wong
@ 2026-02-20 15:24 ` Christoph Hellwig
2026-02-20 18:21 ` Darrick J. Wong
0 siblings, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2026-02-20 15:24 UTC (permalink / raw)
To: Darrick J. Wong
Cc: Christoph Hellwig, Alexander Viro, Christian Brauner, Jan Kara,
linux-fsdevel
On Thu, Feb 19, 2026 at 08:04:28AM -0800, Darrick J. Wong wrote:
> > diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
> > index b4a0f23914a6..e8b94357b4df 100644
> > --- a/Documentation/filesystems/mount_api.rst
> > +++ b/Documentation/filesystems/mount_api.rst
> > @@ -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
>
> Unrelated: should xfs be using fsparam_bdev for its logdev/rtdev mount
> options?
Not sure what the point is in having separate string helpers with meaning,
but maybe I'm missing something/
> Or, more crazily, should it grow logfd/rtfd options that use fsparam_fd?
What would the use case be for that?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path
2026-02-20 15:24 ` Christoph Hellwig
@ 2026-02-20 18:21 ` Darrick J. Wong
0 siblings, 0 replies; 10+ messages in thread
From: Darrick J. Wong @ 2026-02-20 18:21 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Alexander Viro, Christian Brauner, Jan Kara, linux-fsdevel
On Fri, Feb 20, 2026 at 04:24:02PM +0100, Christoph Hellwig wrote:
> On Thu, Feb 19, 2026 at 08:04:28AM -0800, Darrick J. Wong wrote:
> > > diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
> > > index b4a0f23914a6..e8b94357b4df 100644
> > > --- a/Documentation/filesystems/mount_api.rst
> > > +++ b/Documentation/filesystems/mount_api.rst
> > > @@ -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
> >
> > Unrelated: should xfs be using fsparam_bdev for its logdev/rtdev mount
> > options?
>
> Not sure what the point is in having separate string helpers with meaning,
> but maybe I'm missing something/
I'm not sure either -- it'd be one thing if the fsconfig code could
supply us with an open struct file to an O_EXCL bdev, but looking at the
sole user ext4, all it does is sample i_rdev and pass it to
bdev_file_open_by_dev.
> > Or, more crazily, should it grow logfd/rtfd options that use fsparam_fd?
>
> What would the use case be for that?
I've no idea, I guess if we had mount helper magic then it would be
useful.
--D
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-02-20 18:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-19 6:50 remove or unexport unused fs_conext infrastructure Christoph Hellwig
2026-02-19 6:50 ` [PATCH 1/4] fs: mark bool_names static Christoph Hellwig
2026-02-19 6:50 ` [PATCH 2/4] fs: remove fsparam_blob / fs_param_is_blob Christoph Hellwig
2026-02-19 6:50 ` [PATCH 3/4] fs: remove fsparam_path / fs_param_is_path Christoph Hellwig
2026-02-19 16:04 ` Darrick J. Wong
2026-02-20 15:24 ` Christoph Hellwig
2026-02-20 18:21 ` Darrick J. Wong
2026-02-19 6:50 ` [PATCH 4/4] fs: unexport fs_context_for_reconfigure Christoph Hellwig
2026-02-19 11:45 ` remove or unexport unused fs_conext infrastructure Jan Kara
2026-02-19 13:35 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox