summaryrefslogtreecommitdiff
path: root/kernel/stat.h
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2019-07-08 15:50:06 -0400
committerFrans Kaashoek <[email protected]>2019-07-08 15:50:06 -0400
commit2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc (patch)
tree189387b82cfd998170d39dfc998de0fc86602544 /kernel/stat.h
parent75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3 (diff)
parent60ed537427c31d320ca4c8778d21d13304285b00 (diff)
downloadxv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.tar.gz
xv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.tar.bz2
xv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.zip
Merge branch 'riscv-proc' into riscv
Diffstat (limited to 'kernel/stat.h')
-rw-r--r--kernel/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/stat.h b/kernel/stat.h
index a498321..19543af 100644
--- a/kernel/stat.h
+++ b/kernel/stat.h
@@ -3,9 +3,9 @@
#define T_DEVICE 3 // Device
struct stat {
- short type; // Type of file
int dev; // File system's disk device
uint ino; // Inode number
+ short type; // Type of file
short nlink; // Number of links to file
- uint size; // Size of file in bytes
+ uint64 size; // Size of file in bytes
};