Changeset b191acae in mainline
- Timestamp:
- 2012-03-18T15:54:09Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd581120
- Parents:
- 96598b8
- Location:
- uspace/lib/ext4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_directory_index.c
r96598b8 rb191acae 43 43 #include "libext4.h" 44 44 45 typedef struct ext4_dx_sort_entry { 46 uint32_t hash; 47 uint32_t rec_len; 48 void *dentry; 49 } ext4_dx_sort_entry_t; 50 45 51 46 52 uint8_t ext4_directory_dx_root_info_get_hash_version( … … 412 418 } 413 419 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) 420 static int ext4_directory_dx_entry_comparator(void *arg1, void *arg2, void *dummy) 421 421 { 422 422 ext4_dx_sort_entry_t *entry1 = arg1; … … 519 519 } 520 520 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); 522 522 523 523 uint32_t new_fblock; -
uspace/lib/ext4/libext4_inode.c
r96598b8 rb191acae 234 234 } 235 235 236 uint64_t ext4_ get_inode_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb)236 uint64_t ext4_inode_get_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb) 237 237 { 238 238 if (ext4_superblock_get_creator_os(sb) == EXT4_SUPERBLOCK_OS_LINUX) { … … 244 244 } 245 245 246 void ext4_ set_inode_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb,246 void ext4_inode_set_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb, 247 247 uint64_t file_acl) 248 248 { -
uspace/lib/ext4/libext4_inode.h
r96598b8 rb191acae 62 62 extern uint32_t ext4_inode_get_generation(ext4_inode_t *); 63 63 extern 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);64 extern uint64_t ext4_inode_get_file_acl(ext4_inode_t *, ext4_superblock_t *); 65 extern void ext4_inode_set_file_acl(ext4_inode_t *, ext4_superblock_t *, uint64_t); 66 66 /* 67 67 uint16_t extra_isize;
Note:
See TracChangeset
for help on using the changeset viewer.