diff options
author | kaashoek <kaashoek> | 2006-08-11 18:18:38 +0000 |
---|---|---|
committer | kaashoek <kaashoek> | 2006-08-11 18:18:38 +0000 |
commit | 24437cd554995f729969299e72699e2ba5d9b068 (patch) | |
tree | e3b5aa572c9621d1f932788fc882d4e6d693473f /defs.h | |
parent | 17a856577f9db766b8ef7099d0575d378dff5dd1 (diff) | |
download | xv6-labs-24437cd554995f729969299e72699e2ba5d9b068.tar.gz xv6-labs-24437cd554995f729969299e72699e2ba5d9b068.tar.bz2 xv6-labs-24437cd554995f729969299e72699e2ba5d9b068.zip |
fix deadlock---iput(dp) asap
working unlink, but doesn't free dir blocks that become empty
remove out-of-date comment in ioapic
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -118,4 +118,5 @@ struct inode * namei(char *path); int readi(struct inode *ip, char *xdst, uint off, uint n); int writei(struct inode *ip, char *addr, uint off, uint n); struct inode *mknod(struct inode *, char *, short, short, short); +int unlink(char *cp); void iupdate (struct inode *ip); |