diff options
author | rtm <rtm> | 2006-08-12 11:38:57 +0000 |
---|---|---|
committer | rtm <rtm> | 2006-08-12 11:38:57 +0000 |
commit | 4357207237e074b5a42ee9739eadd040fd1cf296 (patch) | |
tree | 1fe657b94bdfb412c02c6c4cec089f329d69df96 /defs.h | |
parent | 1f544842ceb5af73b1f2b13222d72dd4ad7cd08a (diff) | |
download | xv6-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |