Subversion Repositories HelenOS

Rev

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

Rev 2740 Rev 2742
Line 129... Line 129...
129
         * The node is not visible in the file system namespace.
129
         * The node is not visible in the file system namespace.
130
         * Free up its resources.
130
         * Free up its resources.
131
         */
131
         */
132
        int phone = vfs_grab_phone(node->fs_handle);
132
        int phone = vfs_grab_phone(node->fs_handle);
133
        ipcarg_t rc;
133
        ipcarg_t rc;
134
        rc = async_req_2_0(phone, VFS_FREE, (ipcarg_t)node->dev_handle,
134
        rc = async_req_2_0(phone, VFS_DESTROY,
135
            (ipcarg_t)node->index);
135
            (ipcarg_t)node->dev_handle, (ipcarg_t)node->index);
136
        assert(rc == EOK);
136
        assert(rc == EOK);
137
        vfs_release_phone(phone);
137
        vfs_release_phone(phone);
138
    }
138
    }
139
    if (free_vfs_node)
139
    if (free_vfs_node)
140
        free(node);
140
        free(node);