Subversion Repositories HelenOS

Rev

Rev 3246 | Rev 3292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3246 Rev 3255
Line 170... Line 170...
170
        async_serialize_end();
170
        async_serialize_end();
171
        futex_up(&vfs_phone_futex);
171
        futex_up(&vfs_phone_futex);
172
        free(mpa);
172
        free(mpa);
173
        return (int) rc;
173
        return (int) rc;
174
    }
174
    }
-
 
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
    }
175
    rc = ipc_data_write_start(vfs_phone, (void *)mpa, mpa_len);
184
    rc = ipc_data_write_start(vfs_phone, (void *)mpa, mpa_len);
176
    if (rc != EOK) {
185
    if (rc != EOK) {
177
        async_wait_for(req, NULL);
186
        async_wait_for(req, NULL);
178
        async_serialize_end();
187
        async_serialize_end();
179
        futex_up(&vfs_phone_futex);
188
        futex_up(&vfs_phone_futex);