Changeset dfa7bac in mainline


Ignore:
Timestamp:
2008-04-02T20:41:48Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5d494b3
Parents:
711e33fc
Message:

Convert FAT on-disk metadata from little-endian to native representation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r711e33fc rdfa7bac  
    4343#include <errno.h>
    4444#include <string.h>
     45#include <endian.h>
    4546
    4647#define FAT_NAME_LEN            8
     
    136137                        /* hit */
    137138                        void *node = fat_node_get(parentp->dev_handle,
    138                             (fs_index_t)d->firstc);
     139                            (fs_index_t)uint16_t_le2host(d->firstc));
    139140                        fat_dentry_put(d);
    140141                        return node;
Note: See TracChangeset for help on using the changeset viewer.