diff options
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; |