summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd_fusemount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_fusemount.c b/cmd_fusemount.c
index dc5b5630..9bd1b0bd 100644
--- a/cmd_fusemount.c
+++ b/cmd_fusemount.c
@@ -44,6 +44,7 @@ static struct stat inode_to_stat(struct bch_fs *c,
struct bch_inode_unpacked *bi)
{
return (struct stat) {
+ .st_ino = bi->bi_inum,
.st_size = bi->bi_size,
.st_mode = bi->bi_mode,
.st_uid = bi->bi_uid,