mirror of
https://github.com/drasko/codezero.git
synced 2026-02-15 03:13:16 +01:00
Added sys_close() but its not done yet.
close() needs to flush dirty buffers. pager needs to have read/write support properly implemented. open() needs to record mode and access times. The need for access times means we need rtc and time implementation. Also need to add stat() access() etc.
This commit is contained in:
@@ -66,7 +66,7 @@ struct vnode *vfs_lookup_bypath(struct pathdata *pdata)
|
||||
* This does vfs cache + fs lookup.
|
||||
*/
|
||||
BUG_ON(list_empty(&pdata->list));
|
||||
firstcomp = pathdata_next_component(pdata);
|
||||
firstcomp = pathdata_next_component(pdata);
|
||||
return pdata->vstart->ops.lookup(pdata->vstart, pdata, firstcomp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user