diff options
author | kaashoek <kaashoek> | 2006-08-15 15:53:46 +0000 |
---|---|---|
committer | kaashoek <kaashoek> | 2006-08-15 15:53:46 +0000 |
commit | e958c538fa1e711479f09cab807a6a7cde5d8aeb (patch) | |
tree | 05b193a535691e31dd936954e4e824b7de700206 /fs.c | |
parent | d7b3b802f414dbf18b5e196ab1a342b19d5f7be8 (diff) | |
download | xv6-labs-e958c538fa1e711479f09cab807a6a7cde5d8aeb.tar.gz xv6-labs-e958c538fa1e711479f09cab807a6a7cde5d8aeb.tar.bz2 xv6-labs-e958c538fa1e711479f09cab807a6a7cde5d8aeb.zip |
commented out code for cwd
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -287,6 +287,14 @@ idecref(struct inode *ip) } void +iincref(struct inode *ip) +{ + ilock(ip); + ip->count++; + iunlock(ip); +} + +void stati(struct inode *ip, struct stat *st) { st->st_dev = ip->dev; |