[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174787197897.1484400.7320488214945123982.stgit@frogsfrogsfrogs>
Date: Wed, 21 May 2025 17:08:11 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 3/3] fuse2fs: disable nfs exports
From: Darrick J. Wong <djwong@...nel.org>
The kernel fuse driver can export its own handles, but it doesn't
actually talk to the fuse server about those handles. Hence they don't
survive unmount/mount cycles like regular ext4. Disable them, because
they cause fstests regressions and it's not clear that they're suitable
for NFS export, at least not as most people understand ext4 NFS exports.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
misc/fuse2fs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
index 6137fc04198d39..769bb5babd2738 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -969,6 +969,9 @@ static void *op_init(struct fuse_conn_info *conn
#ifdef FUSE_CAP_CACHE_SYMLINKS
fuse_set_feature_flag(conn, FUSE_CAP_CACHE_SYMLINKS);
#endif
+#ifdef FUSE_CAP_NO_EXPORT_SUPPORT
+ fuse_set_feature_flag(conn, FUSE_CAP_NO_EXPORT_SUPPORT);
+#endif
#if FUSE_VERSION >= FUSE_MAKE_VERSION(3, 0)
conn->time_gran = 1;
cfg->use_ino = 1;
Powered by blists - more mailing lists