[ox/fs] Remove C99 designated initializer usage
This commit is contained in:
parent
9844416a4e
commit
0c570438e4
@ -406,10 +406,10 @@ ValErr<StatInfo> FileStoreTemplate<size_t>::stat(InodeId_t id) {
|
|||||||
auto inode = find(id);
|
auto inode = find(id);
|
||||||
if (inode.valid()) {
|
if (inode.valid()) {
|
||||||
return ValErr<StatInfo>({
|
return ValErr<StatInfo>({
|
||||||
.inode = id,
|
id,
|
||||||
.links = inode->links,
|
inode->links,
|
||||||
.size = inode->size(),
|
inode->size(),
|
||||||
.fileType = inode->fileType,
|
inode->fileType,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return ValErr<StatInfo>({}, 1);
|
return ValErr<StatInfo>({}, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user