Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset afd9c3b in mainline


Ignore:
Timestamp:
2011-04-16T11:26:49Z (11 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
488f7ed
Parents:
13ab195
Message:

call the insert_dentry() function in mfs_link()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_ops.c

    r13ab195 rafd9c3b  
    522522static int mfs_link(fs_node_t *pfn, fs_node_t *cfn, const char *name)
    523523{
     524        struct mfs_node *parent = pfn->data;
     525        struct mfs_node *child = cfn->data;
     526
    524527        mfsdebug("mfs_link()\n");
    525         return ENOTSUP;
     528
     529        int r = insert_dentry(parent, name, child->ino_i->index);
     530
     531        return r;
    526532}
    527533
Note: See TracChangeset for help on using the changeset viewer.