fill in .st_ino in .getattr

This commit is contained in:
Kent Overstreet 2019-10-04 16:41:12 -04:00
parent 81551c8f1b
commit 94980e1892

View 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,