mirror of
https://github.com/drasko/codezero.git
synced 2026-07-13 19:04:13 +02:00
Fixed the component-consumption-every-lookup problem.
Now components only consumed on child lookup recursions.
This commit is contained in:
@@ -46,7 +46,8 @@ struct file_ops {
|
||||
/* Operations that work on vnode fields and associations between vnodes */
|
||||
struct vnode_ops {
|
||||
vnode_op_t create;
|
||||
struct vnode *(*lookup)(struct vnode *root, struct pathdata *pdata);
|
||||
struct vnode *(*lookup)(struct vnode *root, struct pathdata *pdata,
|
||||
char *component);
|
||||
int (*readdir)(struct vnode *v);
|
||||
int (*filldir)(void *buf, struct vnode *v, int count);
|
||||
vnode_op_t link;
|
||||
|
||||
Reference in New Issue
Block a user