diff options
author | dzwdz | 2021-09-16 06:42:07 +0000 |
---|---|---|
committer | dzwdz | 2021-09-16 06:42:07 +0000 |
commit | 267a85f9ef709ccbefe5ae0ccbb306bd21921418 (patch) | |
tree | f5ed73b0fdb5500bc81ed790c69d8b2764f0ad32 /src/kernel/vfs/request.h | |
parent | 206ca77636cca94d14d7486a7a0e2679bf107a28 (diff) |
implement output from vfs calls
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r-- | src/kernel/vfs/request.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index aabef4f..0ad50e9 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -18,7 +18,7 @@ struct vfs_backend { // describes an in-process vfs call struct vfs_request { enum vfs_operation type; - struct { // TODO maybe this should be a separate type + struct { bool kern; // if false: use .buf ; if true: use .buf_kern union { char __user *buf; @@ -27,11 +27,7 @@ struct vfs_request { int len; } input; struct { - bool kern; // if false: use .buf ; if true: use .buf_kern - union { - char __user *buf; - char *buf_kern; - }; + char __user *buf; int len; } output; |