[PATCH 3/3] fuse2fs: enable iomap
From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2025-10-29 01:17:03
Also in:
linux-fsdevel
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2025-10-29 01:17:03
Also in:
linux-fsdevel
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Darrick J. Wong <djwong@kernel.org> Now that iomap functionality is complete, enable this for users. Signed-off-by: "Darrick J. Wong" <djwong@kernel.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))