summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
authordzwdz2022-08-08 14:33:37 +0200
committerdzwdz2022-08-08 14:33:37 +0200
commit3131d8c2f66bcecb62dfa4c69325951cd9b00706 (patch)
tree595cb0baf29c15d75ffc94d04af71d7ae94517ed /src/kernel/arch
parentc7af8418c9a2222cde5ab3a6953b31803d0a8ef1 (diff)
fs: getsize() on directories
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c
index ea9fa7d..882fe91 100644
--- a/src/kernel/arch/amd64/driver/fsroot.c
+++ b/src/kernel/arch/amd64/driver/fsroot.c
@@ -77,6 +77,7 @@ static int handle(struct vfs_request *req) {
}
case VFSOP_CLOSE: return 0;
+ // TODO getsize for kernel provided directories
case VFSOP_GETSIZE: return -ENOSYS;
default: panic_invalid_state();