Changeset 9c0c0e1 in mainline for uspace/lib/ext4/libext4_inode.c


Ignore:
Timestamp:
2011-10-04T12:18:44Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a23297c
Parents:
01ab41b
Message:

part of code needed for successful mount (porting from ext2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_inode.c

    r01ab41b r9c0c0e1  
    3636 */
    3737
     38#include <byteorder.h>
    3839#include "libext4_inode.h"
    3940
     
    4445uint16_t ext4_inode_get_usage_count(ext4_inode_t *inode)
    4546{
    46         // TODO check
    47         return 0;
     47        return uint16_t_le2host(inode->links_count);
    4848}
    4949
Note: See TracChangeset for help on using the changeset viewer.