[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v3 15/23] 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 84eb35d7..b7320cc1 100644
--- a/lib/vfscore/include/vfscore/file.h
+++ b/lib/vfscore/include/vfscore/file.h
@@ -53,7 +53,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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.