Changeset cf95bc0 in mainline for uspace/lib/libfs/libfs.c


Ignore:
Timestamp:
2009-05-09T21:56:50Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4a172b
Parents:
4f46695e
Message:

Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libfs/libfs.c

    r4f46695e rcf95bc0  
    291291        if (lflag & L_UNLINK) {
    292292                unsigned old_lnkcnt = ops->lnkcnt_get(cur);
    293                 int res = ops->unlink(par, cur);
     293                int res = ops->unlink(par, cur, component);
    294294                ipc_answer_5(rid, (ipcarg_t)res, fs_handle, dev_handle,
    295295                    ops->index_get(cur), ops->size_get(cur), old_lnkcnt);
Note: See TracChangeset for help on using the changeset viewer.