Changeset fcb0d76 in mainline


Ignore:
Timestamp:
2017-05-10T18:04:21Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81dd2ed
Parents:
3345b86
Message:

Libext4 should try to include what it uses.

Location:
uspace/lib/ext4/src
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/balloc.c

    r3345b86 rfcb0d76  
    3737#include <errno.h>
    3838#include <sys/types.h>
    39 #include "ext4/libext4.h"
     39#include "ext4/balloc.h"
     40#include "ext4/bitmap.h"
     41#include "ext4/block_group.h"
     42#include "ext4/filesystem.h"
     43#include "ext4/inode.h"
     44#include "ext4/superblock.h"
     45#include "ext4/types.h"
    4046
    4147/** Free block.
  • uspace/lib/ext4/src/bitmap.c

    r3345b86 rfcb0d76  
    3838#include <block.h>
    3939#include <sys/types.h>
    40 #include "ext4/libext4.h"
     40#include "ext4/bitmap.h"
    4141
    4242/** Set bit in bitmap to 0 (free).
  • uspace/lib/ext4/src/block_group.c

    r3345b86 rfcb0d76  
    3737
    3838#include <byteorder.h>
    39 #include "ext4/libext4.h"
     39#include "ext4/block_group.h"
     40#include "ext4/superblock.h"
    4041
    4142/** Get address of block with data block bitmap.
  • uspace/lib/ext4/src/directory.c

    r3345b86 rfcb0d76  
    3939#include <errno.h>
    4040#include <malloc.h>
    41 #include "ext4/libext4.h"
     41#include <mem.h>
     42#include <str.h>
     43#include "ext4/directory.h"
     44#include "ext4/directory_index.h"
     45#include "ext4/filesystem.h"
     46#include "ext4/inode.h"
     47#include "ext4/superblock.h"
    4248
    4349/** Get i-node number from directory entry.
  • uspace/lib/ext4/src/directory_index.c

    r3345b86 rfcb0d76  
    3737#include <byteorder.h>
    3838#include <errno.h>
    39 #include <malloc.h>
     39#include <mem.h>
    4040#include <sort.h>
    41 #include "ext4/libext4.h"
     41#include <stdlib.h>
     42#include <str.h>
     43#include "ext4/directory.h"
     44#include "ext4/directory_index.h"
     45#include "ext4/filesystem.h"
     46#include "ext4/hash.h"
     47#include "ext4/inode.h"
     48#include "ext4/superblock.h"
    4249
    4350/** Type entry to pass to sorting algorithm.
  • uspace/lib/ext4/src/extent.c

    r3345b86 rfcb0d76  
    3838#include <errno.h>
    3939#include <malloc.h>
    40 #include "ext4/libext4.h"
     40#include <mem.h>
     41#include "ext4/balloc.h"
     42#include "ext4/extent.h"
     43#include "ext4/inode.h"
     44#include "ext4/superblock.h"
    4145
    4246/** Get logical number of the block covered by extent.
  • uspace/lib/ext4/src/filesystem.c

    r3345b86 rfcb0d76  
    3838#include <byteorder.h>
    3939#include <errno.h>
    40 #include <malloc.h>
    41 #include <ipc/vfs.h>
     40#include <mem.h>
    4241#include <align.h>
    4342#include <crypto.h>
    44 #include "ext4/libext4.h"
     43#include <ipc/vfs.h>
     44#include <stdlib.h>
     45#include "ext4/balloc.h"
     46#include "ext4/bitmap.h"
     47#include "ext4/block_group.h"
     48#include "ext4/extent.h"
     49#include "ext4/filesystem.h"
     50#include "ext4/ialloc.h"
     51#include "ext4/inode.h"
     52#include "ext4/superblock.h"
    4553
    4654/** Initialize filesystem and read all needed data.
  • uspace/lib/ext4/src/hash.c

    r3345b86 rfcb0d76  
    3535 */
    3636
    37 #include "ext4/libext4.h"
    3837#include <errno.h>
     38#include "ext4/hash.h"
    3939
    4040int ext4_hash_string(ext4_hash_info_t *hinfo, int len, const char *name)
  • uspace/lib/ext4/src/ialloc.c

    r3345b86 rfcb0d76  
    3636
    3737#include <errno.h>
    38 #include <time.h>
    39 #include "ext4/libext4.h"
     38#include <stdbool.h>
     39#include "ext4/bitmap.h"
     40#include "ext4/block_group.h"
     41#include "ext4/filesystem.h"
     42#include "ext4/ialloc.h"
     43#include "ext4/superblock.h"
    4044
    4145
  • uspace/lib/ext4/src/inode.c

    r3345b86 rfcb0d76  
    3636 */
    3737
     38#include <block.h>
    3839#include <byteorder.h>
    3940#include <errno.h>
    40 #include <block.h>
    41 #include "ext4/libext4.h"
     41#include "ext4/inode.h"
     42#include "ext4/superblock.h"
    4243
    4344/** Compute number of bits for block count.
  • uspace/lib/ext4/src/superblock.c

    r3345b86 rfcb0d76  
    3737 */
    3838
     39#include <block.h>
    3940#include <byteorder.h>
    4041#include <errno.h>
    41 #include <block.h>
    4242#include <malloc.h>
    43 #include "ext4/libext4.h"
     43#include <mem.h>
     44#include "ext4/superblock.h"
    4445
    4546/** Get number of i-nodes in the whole filesystem.
Note: See TracChangeset for help on using the changeset viewer.