[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176169818612.1430840.5945327018338457674.stgit@frogsfrogsfrogs>
Date: Tue, 28 Oct 2025 18:17:02 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-fsdevel@...r.kernel.org, joannelkoong@...il.com, bernd@...ernd.com,
neal@...pa.dev, miklos@...redi.hu, linux-ext4@...r.kernel.org
Subject: [PATCH 3/3] fuse2fs: enable iomap
From: Darrick J. Wong <djwong@...nel.org>
Now that iomap functionality is complete, enable this for users.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
fuse4fs/fuse4fs.c | 4 ----
misc/fuse2fs.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c
index 5e2ced05dc5071..ef73013aa8fcb1 100644
--- a/fuse4fs/fuse4fs.c
+++ b/fuse4fs/fuse4fs.c
@@ -2017,10 +2017,6 @@ static inline int fuse_set_feature_flag(struct fuse_conn_info *conn,
static void fuse4fs_iomap_enable(struct fuse_conn_info *conn,
struct fuse4fs *ff)
{
- /* Don't let anyone touch iomap until the end of the patchset. */
- ff->iomap_state = IOMAP_DISABLED;
- return;
-
/* iomap only works with block devices */
if (ff->iomap_state != IOMAP_DISABLED && fuse4fs_on_bdev(ff) &&
fuse_set_feature_flag(conn, FUSE_CAP_IOMAP))
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
index 7410059305fe24..b359e91f7b9e9b 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -1843,10 +1843,6 @@ static inline int fuse_set_feature_flag(struct fuse_conn_info *conn,
static void fuse2fs_iomap_enable(struct fuse_conn_info *conn,
struct fuse2fs *ff)
{
- /* Don't let anyone touch iomap until the end of the patchset. */
- ff->iomap_state = IOMAP_DISABLED;
- return;
-
/* iomap only works with block devices */
if (ff->iomap_state != IOMAP_DISABLED && fuse2fs_on_bdev(ff) &&
fuse_set_feature_flag(conn, FUSE_CAP_IOMAP))
Powered by blists - more mailing lists