Subversion Repositories HelenOS

Rev

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

Rev 3153 Rev 3674
Line 180... Line 180...
180
        result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer);
180
        result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer);
181
        result->triplet.dev_handle = (dev_handle_t) IPC_GET_ARG2(answer);
181
        result->triplet.dev_handle = (dev_handle_t) IPC_GET_ARG2(answer);
182
        result->triplet.index = (fs_index_t) IPC_GET_ARG3(answer);
182
        result->triplet.index = (fs_index_t) IPC_GET_ARG3(answer);
183
        result->size = (size_t) IPC_GET_ARG4(answer);
183
        result->size = (size_t) IPC_GET_ARG4(answer);
184
        result->lnkcnt = (unsigned) IPC_GET_ARG5(answer);
184
        result->lnkcnt = (unsigned) IPC_GET_ARG5(answer);
-
 
185
        if (lflag & L_FILE)
-
 
186
            result->type = VFS_NODE_FILE;
-
 
187
        else if (lflag & L_DIRECTORY)
-
 
188
            result->type = VFS_NODE_DIRECTORY;
-
 
189
        else
-
 
190
            result->type = VFS_NODE_UNKNOWN;
185
    }
191
    }
186
 
192
 
187
    return rc;
193
    return rc;
188
}
194
}
189
 
195