Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b191acae in mainline


Ignore:
Timestamp:
2012-03-18T15:54:09Z (10 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master
Children:
cd581120
Parents:
96598b8
Message:

renamed some functions because of naming convention

Location:
uspace/lib/ext4
Files:
3 edited

Legend:

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

    r96598b8 rb191acae  
    4343#include "libext4.h"
    4444
     45typedef struct ext4_dx_sort_entry {
     46        uint32_t hash;
     47        uint32_t rec_len;
     48        void *dentry;
     49} ext4_dx_sort_entry_t;
     50
    4551
    4652uint8_t ext4_directory_dx_root_info_get_hash_version(
     
    412418}
    413419
    414 typedef struct ext4_dx_sort_entry {
    415         uint32_t hash;
    416         uint32_t rec_len;
    417         void *dentry;
    418 } ext4_dx_sort_entry_t;
    419 
    420 static int dx_entry_comparator(void *arg1, void *arg2, void *dummy)
     420static int ext4_directory_dx_entry_comparator(void *arg1, void *arg2, void *dummy)
    421421{
    422422        ext4_dx_sort_entry_t *entry1 = arg1;
     
    519519        }
    520520
    521         qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t), dx_entry_comparator, NULL);
     521        qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t), ext4_directory_dx_entry_comparator, NULL);
    522522
    523523        uint32_t new_fblock;
  • uspace/lib/ext4/libext4_inode.c

    r96598b8 rb191acae  
    234234}
    235235
    236 uint64_t ext4_get_inode_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb)
     236uint64_t ext4_inode_get_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb)
    237237{
    238238        if (ext4_superblock_get_creator_os(sb) == EXT4_SUPERBLOCK_OS_LINUX) {
     
    244244}
    245245
    246 void ext4_set_inode_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb,
     246void ext4_inode_set_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb,
    247247                uint64_t file_acl)
    248248{
  • uspace/lib/ext4/libext4_inode.h

    r96598b8 rb191acae  
    6262extern uint32_t ext4_inode_get_generation(ext4_inode_t *);
    6363extern void ext4_inode_set_generation(ext4_inode_t *, uint32_t);
    64 extern uint64_t ext4_get_inode_file_acl(ext4_inode_t *, ext4_superblock_t *);
    65 extern void ext4_set_inode_file_acl(ext4_inode_t *, ext4_superblock_t *, uint64_t);
     64extern uint64_t ext4_inode_get_file_acl(ext4_inode_t *, ext4_superblock_t *);
     65extern void ext4_inode_set_file_acl(ext4_inode_t *, ext4_superblock_t *, uint64_t);
    6666/*
    6767uint16_t extra_isize;
Note: See TracChangeset for help on using the changeset viewer.