summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2011-10-14 10:23:23 -0400
committerRobert Morris <[email protected]>2011-10-14 10:23:23 -0400
commit12abb1a56164a0d71fb7a76a465c912409f2f60b (patch)
treebc03592160be0e13960a9c106ecf5d48aadbe897 /sysfile.c
parent38eee5bca75cc16d40101953bc2003bb77d452e7 (diff)
downloadxv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.tar.gz
xv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.tar.bz2
xv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.zip
don't let dirty blocks be evicted from cache!
Diffstat (limited to 'sysfile.c')
-rw-r--r--sysfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysfile.c b/sysfile.c
index 9de3d86..e6d08e8 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -1,3 +1,9 @@
+//
+// File-system system calls.
+// Mostly argument checking, since we don't trust
+// user code, and calls into file.c and fs.c.
+//
+
#include "types.h"
#include "defs.h"
#include "param.h"