Whamcloud - gitweb
fuse2fs: add supportable mount options from the kernel
authorDarrick J. Wong <djwong@kernel.org>
Thu, 24 Apr 2025 21:43:07 +0000 (14:43 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 14:25:07 +0000 (10:25 -0400)
Add all the kernel mount options that we can actually support.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/174553065087.1160461.16716917319493753291.stgit@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c

index 6c9155b..a283eb1 100644 (file)
@@ -3548,15 +3548,18 @@ static struct fuse_opt fuse2fs_opts[] = {
        FUSE2FS_OPT("rw",               ro,                     0),
        FUSE2FS_OPT("errors=panic",     panic_on_error,         1),
        FUSE2FS_OPT("minixdf",          minixdf,                1),
+       FUSE2FS_OPT("bsddf",            minixdf,                0),
        FUSE2FS_OPT("fakeroot",         fakeroot,               1),
        FUSE2FS_OPT("fuse2fs_debug",    debug,                  1),
        FUSE2FS_OPT("no_default_opts",  no_default_opts,        1),
        FUSE2FS_OPT("norecovery",       norecovery,             1),
+       FUSE2FS_OPT("noload",           norecovery,             1),
        FUSE2FS_OPT("offset=%lu",       offset,                 0),
        FUSE2FS_OPT("kernel",           kernel,                 1),
 
        FUSE_OPT_KEY("acl",             FUSE2FS_IGNORED),
        FUSE_OPT_KEY("user_xattr",      FUSE2FS_IGNORED),
+       FUSE_OPT_KEY("noblock_validity", FUSE2FS_IGNORED),
 
        FUSE_OPT_KEY("-V",             FUSE2FS_VERSION),
        FUSE_OPT_KEY("--version",      FUSE2FS_VERSION),