Skip to content

Commit

Permalink
Set default Inode.size to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Jan 17, 2025
1 parent 4b70401 commit e7928fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/store/inode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Inode implements InodeLike {
@t.uint32 public data: number = randomInt(0, size_max);
/** For future use */
@t.uint32 public __data_old: number = 0;
@t.uint32 public size: number = 4096;
@t.uint32 public size: number = 0;
@t.uint16 public mode: number = 0;
@t.uint32 public nlink: number = 1;
@t.uint32 public uid: number = 0;
Expand Down

0 comments on commit e7928fa

Please sign in to comment.