mirror of
https://github.com/drasko/codezero.git
synced 2026-03-17 01:31:49 +01:00
Added resolving of current directory in case lookup starts from current dir.
This commit is contained in:
@@ -210,7 +210,7 @@ int memfs_write_vnode(struct superblock *sb, struct vnode *v)
|
||||
* Creates ordinary files and directories at the moment. In the future,
|
||||
* other file types will be added.
|
||||
*/
|
||||
int memfs_vnode_mknod(struct vnode *v, char *dirname, unsigned int mode)
|
||||
int memfs_vnode_mknod(struct vnode *v, const char *dirname, unsigned int mode)
|
||||
{
|
||||
struct dentry *d, *parent = list_entry(v->dentries.next,
|
||||
struct dentry, vref);
|
||||
|
||||
Reference in New Issue
Block a user