[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <175798162705.391696.10423276147840972958.stgit@frogsfrogsfrogs>
Date: Mon, 15 Sep 2025 18:06:49 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: miklos@...redi.hu, neal@...pa.dev, linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org, John@...ves.net, bernd@...ernd.com,
joannelkoong@...il.com
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 5c563eff1c38c1..c4397fc365ced7 100644
--- a/fuse4fs/fuse4fs.c
+++ b/fuse4fs/fuse4fs.c
@@ -1652,10 +1652,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 7a10b6cab87f7c..5e4680ca023282 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -1478,10 +1478,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