mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
vfs: fix use of non zero'd memory
This commit is contained in:
@@ -166,7 +166,8 @@ typedef struct vops_t {
|
|||||||
(vn)->flags = f; \
|
(vn)->flags = f; \
|
||||||
(vn)->type = t; \
|
(vn)->type = t; \
|
||||||
(vn)->vfs = v; \
|
(vn)->vfs = v; \
|
||||||
(vn)->vfsmounted = NULL;
|
(vn)->vfsmounted = NULL; \
|
||||||
|
(vn)->pages = NULL;
|
||||||
|
|
||||||
#define VOP_LOCK(v) (v)->ops->lock(v)
|
#define VOP_LOCK(v) (v)->ops->lock(v)
|
||||||
#define VOP_UNLOCK(v) (v)->ops->unlock(v)
|
#define VOP_UNLOCK(v) (v)->ops->unlock(v)
|
||||||
|
|||||||
Reference in New Issue
Block a user