diff options
| author | kaashoek <kaashoek> | 2006-08-12 01:25:45 +0000 |
|---|---|---|
| committer | kaashoek <kaashoek> | 2006-08-12 01:25:45 +0000 |
| commit | 0633b9715e106ac97fafcf3a68c06da1f0cf873a (patch) | |
| tree | 0049ae867f8f94fe0e819a9c33b7b84989561c43 /defs.h | |
| parent | 24437cd554995f729969299e72699e2ba5d9b068 (diff) | |
| download | xv6-labs-2022-0633b9715e106ac97fafcf3a68c06da1f0cf873a.tar.xz xv6-labs-2022-0633b9715e106ac97fafcf3a68c06da1f0cf873a.zip | |
unlink,mknod,create with multi-component pathnames should work now
remove console init code from userfs
Diffstat (limited to 'defs.h')
| -rw-r--r-- | defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,9 +114,9 @@ void ilock(struct inode *ip); void iunlock(struct inode *ip); void idecref(struct inode *ip); void iput(struct inode *ip); -struct inode * namei(char *path); +struct inode * namei(char *path, uint *); 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); +struct inode *mknod(char *, short, short, short); int unlink(char *cp); void iupdate (struct inode *ip); |
