Changeset 1433ecda in mainline for uspace/lib/ext4


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
uspace/lib/ext4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/include/ext4/types.h

    r47b2d7e3 r1433ecda  
    323323                        uint32_t author;
    324324                } hurd2;
    325         } __attribute__ ((packed)) osd2;
     325        } __attribute__((packed)) osd2;
    326326
    327327        uint16_t extra_isize;
     
    333333        uint32_t crtime_extra;  /* Extra file creation time (nsec << 2 | epoch) */
    334334        uint32_t version_hi;    /* High 32 bits for 64-bit version */
    335 } __attribute__ ((packed)) ext4_inode_t;
     335} __attribute__((packed)) ext4_inode_t;
    336336
    337337#define EXT4_INODE_MODE_FIFO       0x1000
     
    407407                uint8_t name_length_high;  /* Higher 8 bits of name length */
    408408                uint8_t inode_type;        /* Type of referenced inode (in rev >= 0.5) */
    409         } __attribute__ ((packed));
     409        } __attribute__((packed));
    410410
    411411        uint8_t name[EXT4_DIRECTORY_FILENAME_LEN];  /* Entry name */
  • uspace/lib/ext4/src/balloc.c

    r47b2d7e3 r1433ecda  
    501501
    502502                free_blocks =
    503                      ext4_block_group_get_free_blocks_count(bg_ref->block_group, sb);
     503                    ext4_block_group_get_free_blocks_count(bg_ref->block_group, sb);
    504504                if (free_blocks == 0) {
    505505                        /* This group has no free blocks */
     
    573573                }
    574574
    575 next_group:
     575        next_group:
    576576                rc = ext4_filesystem_put_block_group_ref(bg_ref);
    577577                if (rc != EOK)
  • uspace/lib/ext4/src/bitmap.c

    r47b2d7e3 r1433ecda  
    5555        uint8_t *target = bitmap + byte_index;
    5656
    57         *target &= ~ (1 << bit_index);
     57        *target &= ~(1 << bit_index);
    5858}
    5959
     
    8080
    8181                target = bitmap + byte_index;
    82                 *target &= ~ (1 << bit_index);
     82                *target &= ~(1 << bit_index);
    8383
    8484                idx++;
     
    112112
    113113                target = bitmap + byte_index;
    114                 *target &= ~ (1 << bit_index);
     114                *target &= ~(1 << bit_index);
    115115
    116116                idx++;
  • uspace/lib/ext4/src/inode.c

    r47b2d7e3 r1433ecda  
    523523 *
    524524 */
    525 ext4_extent_header_t * ext4_inode_get_extent_header(ext4_inode_t *inode)
     525ext4_extent_header_t *ext4_inode_get_extent_header(ext4_inode_t *inode)
    526526{
    527527        return (ext4_extent_header_t *) inode->blocks;
Note: See TracChangeset for help on using the changeset viewer.