summaryrefslogtreecommitdiff
path: root/include/fs
diff options
context:
space:
mode:
Diffstat (limited to 'include/fs')
-rw-r--r--include/fs/file.h1
-rw-r--r--include/fs/fs.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/fs/file.h b/include/fs/file.h
index fc0c5d9..2f23176 100644
--- a/include/fs/file.h
+++ b/include/fs/file.h
@@ -32,4 +32,5 @@ namespace FileTable
int stat(struct file *f, uint64 addr);
int read(struct file *f, uint64 addr, int n);
int write(struct file *f, uint64 addr, int n);
+ int lseek(struct file *f, int offset, int whence);
} // namespace FileTable
diff --git a/include/fs/fs.h b/include/fs/fs.h
index 6e4ec4b..f40bc0c 100644
--- a/include/fs/fs.h
+++ b/include/fs/fs.h
@@ -83,6 +83,7 @@ namespace VFS
void ilock(Inode *ip);
// unlock
void iunlock(Inode *ip);
+ void iunlockput(Inode *ip);
// Mount the root filesystem
void mount_root(Inode *root);
// Get system root node