mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
fill in .st_ino in .getattr
This commit is contained in:
parent
81551c8f1b
commit
94980e1892
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user