Subversion Repositories HelenOS

Rev

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

Rev 2881 Rev 2889
Line 173... Line 173...
173
 * index stays unaltered, while the internal FAT "physical tree address"
173
 * index stays unaltered, while the internal FAT "physical tree address"
174
 * changes.  The unlink case is also handled this way thanks to an in-core node
174
 * changes.  The unlink case is also handled this way thanks to an in-core node
175
 * pointer embedded in the index structure.
175
 * pointer embedded in the index structure.
176
 */
176
 */
177
typedef struct {
177
typedef struct {
-
 
178
    /** Used indices hash table link. */
-
 
179
    link_t      uh_link;
-
 
180
 
178
    dev_handle_t    dev_handle;
181
    dev_handle_t    dev_handle;
179
    fs_index_t  index;
182
    fs_index_t  index;
180
    /**
183
    /**
181
     * Parent first cluster.
184
     * Parent node's first cluster.
182
     * Zero is used if this node is not linked, in which case nodep must
185
     * Zero is used if this node is not linked, in which case nodep must
183
     * contain a pointer to the in-core node structure.
186
     * contain a pointer to the in-core node structure.
184
     * One is used when the parent is the root directory.
187
     * One is used when the parent is the root directory.
185
     */
188
     */
186
    fat_cluster_t   pfc;
189
    fat_cluster_t   pfc;
187
    /** Parent directory entry index. */
190
    /** Directory entry index within the parent node. */
188
    unsigned    pdi;
191
    unsigned    pdi;
189
    /** Pointer to in-core node instance. */
192
    /** Pointer to in-core node instance. */
190
    struct fat_node *nodep;
193
    struct fat_node *nodep;
191
} fat_idx_t;
194
} fat_idx_t;
192
 
195