[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174553065159.1160461.12395515521619169511.stgit@frogsfrogsfrogs>
Date: Thu, 24 Apr 2025 14:44:10 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 13/16] fuse2fs: report real inode numbers
From: Darrick J. Wong <djwong@...nel.org>
Report real inode numbers in stat instead of letting fuse invent them
for us.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
misc/fuse2fs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
index a13564a30575da..7db0a2d1f2d855 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -611,6 +611,7 @@ static void *op_init(struct fuse_conn_info *conn
#endif
#if FUSE_VERSION >= FUSE_MAKE_VERSION(3, 0)
conn->time_gran = 1;
+ cfg->use_ino = 1;
#endif
if (fs->flags & EXT2_FLAG_RW) {
fs->super->s_mnt_count++;
Powered by blists - more mailing lists