]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
fill in .st_ino in .getattr
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 4 Oct 2019 20:41:12 +0000 (16:41 -0400)
committerKent Overstreet <kent.overstreet@gmail.com>
Fri, 18 Oct 2019 20:23:39 +0000 (16:23 -0400)
cmd_fusemount.c

index dc5b563070be7672b6bec03c1b0e3977bdbe6d87..9bd1b0bd4a14d314355c380009f9e6b6e229e1e2 100644 (file)
@@ -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,