From 24437cd554995f729969299e72699e2ba5d9b068 Mon Sep 17 00:00:00 2001 From: kaashoek Date: Fri, 11 Aug 2006 18:18:38 +0000 Subject: fix deadlock---iput(dp) asap working unlink, but doesn't free dir blocks that become empty remove out-of-date comment in ioapic --- defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'defs.h') diff --git a/defs.h b/defs.h index 5e3c1e4..91e0602 100644 --- a/defs.h +++ b/defs.h @@ -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); -- cgit v1.2.3