summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorrtm <rtm>2006-08-12 11:38:57 +0000
committerrtm <rtm>2006-08-12 11:38:57 +0000
commit4357207237e074b5a42ee9739eadd040fd1cf296 (patch)
tree1fe657b94bdfb412c02c6c4cec089f329d69df96 /defs.h
parent1f544842ceb5af73b1f2b13222d72dd4ad7cd08a (diff)
downloadxv6-labs-4357207237e074b5a42ee9739eadd040fd1cf296.tar.gz
xv6-labs-4357207237e074b5a42ee9739eadd040fd1cf296.tar.bz2
xv6-labs-4357207237e074b5a42ee9739eadd040fd1cf296.zip
fix getblk to actually lock the block
no more cons_put system calls usertests tests two processes writing files
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs.h b/defs.h
index 3674c45..f54d829 100644
--- a/defs.h
+++ b/defs.h
@@ -104,7 +104,7 @@ int ide_finish(void *);
// bio.c
void binit(void);
struct buf;
-struct buf *getblk(void);
+struct buf * getblk(uint dev, uint sector);
struct buf *bread(uint, uint);
void bwrite(uint, struct buf *, uint);
void brelse(struct buf *);