Changeset 12fc042 in mainline for uspace/lib/libc/generic/vfs/vfs.c


Ignore:
Timestamp:
2008-08-09T09:45:02Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11c2ae5
Parents:
c544c5d
Message:

Fix the VFS protocol so that the client can determine that VFS_MOUNT failed due
to a request to mount an unregistered file system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/vfs/vfs.c

    rc544c5d r12fc042  
    173173                return (int) rc;
    174174        }
     175        /* Ask VFS whether it likes fs_name. */
     176        rc = async_req_0_0(vfs_phone, IPC_M_PING);
     177        if (rc != EOK) {
     178                async_wait_for(req, NULL);
     179                async_serialize_end();
     180                futex_up(&vfs_phone_futex);
     181                free(mpa);
     182                return (int) rc;
     183        }
    175184        rc = ipc_data_write_start(vfs_phone, (void *)mpa, mpa_len);
    176185        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.