Changeset 72bde81 in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2008-01-27T14:59:32Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2db4ac8
Parents:
1fe186f
Message:

Support for mkdir().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_lookup.c

    r1fe186f r72bde81  
    5858 * @param lflag         Flags to be used during lookup.
    5959 * @param result        Empty structure where the lookup result will be stored.
     60 *                      Can be NULL.
    6061 * @param altroot       If non-empty, will be used instead of rootfs as the root
    6162 *                      of the whole VFS tree.
     
    163164        futex_up(&plb_futex);
    164165
    165         if (rc == EOK) {
     166        if ((rc == EOK) && result) {
    166167                result->triplet.fs_handle = (int) IPC_GET_ARG1(answer);
    167168                result->triplet.dev_handle = (int) IPC_GET_ARG2(answer);
Note: See TracChangeset for help on using the changeset viewer.