|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 14/22] lib/vfscore: add necessary field in vfscore_file
Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
lib/vfscore/include/vfscore/file.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/vfscore/include/vfscore/file.h
b/lib/vfscore/include/vfscore/file.h
index 16af5ba3..87d5975c 100644
--- a/lib/vfscore/include/vfscore/file.h
+++ b/lib/vfscore/include/vfscore/file.h
@@ -54,7 +54,11 @@ struct vfscore_fops {
struct vfscore_file {
int fd;
+ int f_flags; /* open flags */
int f_count; /* reference count */
+ off_t f_offset; /* current position in file */
+ void *f_data; /* file descriptor specific data */
+ struct dentry *f_dentry;
const struct vfscore_fops *fops;
};
--
2.19.2
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |