diff options
author | bde <bde@FreeBSD.org> | 2002-03-23 13:10:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-03-23 13:10:13 +0000 |
commit | 7e4dd346bede535dcf73143539727714fa345656 (patch) | |
tree | 6736de563e74ab5510b5a2fa09671a46db1d926f /sys/gnu/fs | |
parent | eb4271ee1d6c963edc63e82654568ff0c04b336a (diff) | |
download | FreeBSD-src-7e4dd346bede535dcf73143539727714fa345656.zip FreeBSD-src-7e4dd346bede535dcf73143539727714fa345656.tar.gz |
Fixed some style bugs in the removal of __P(()). Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_extern.h | 7 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_lookup.c | 5 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 7 |
3 files changed, 8 insertions, 11 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_extern.h b/sys/gnu/fs/ext2fs/ext2_extern.h index 65fbad4..8df829b 100644 --- a/sys/gnu/fs/ext2fs/ext2_extern.h +++ b/sys/gnu/fs/ext2fs/ext2_extern.h @@ -83,12 +83,11 @@ int ext2_group_sparse(int group); void ext2_discard_prealloc(struct inode *); int ext2_inactive(struct vop_inactive_args *); int ext2_new_block(struct mount * mp, unsigned long goal, - u_int32_t * prealloc_count, - u_int32_t * prealloc_block); + u_int32_t *prealloc_count, u_int32_t *prealloc_block); ino_t ext2_new_inode(const struct inode * dir, int mode); unsigned long ext2_count_free(struct buf *map, unsigned int numchars); -void ext2_free_blocks(struct mount * mp, unsigned long block, - unsigned long count); +void ext2_free_blocks(struct mount *mp, unsigned long block, + unsigned long count); void ext2_free_inode(struct inode * inode); void ext2_ei2di(struct ext2_inode *ei, struct dinode *di); void ext2_di2ei(struct dinode *di, struct ext2_inode *ei); diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c index 57ded62..f67daa9 100644 --- a/sys/gnu/fs/ext2fs/ext2_lookup.c +++ b/sys/gnu/fs/ext2fs/ext2_lookup.c @@ -111,9 +111,8 @@ static u_char dt_to_ext2_ft[] = { ((dt) > sizeof(dt_to_ext2_ft) / sizeof(dt_to_ext2_ft[0]) ? \ EXT2_FT_UNKNOWN : dt_to_ext2_ft[(dt)]) -static int ext2_dirbadentry(struct vnode *dp, - struct ext2_dir_entry_2 *de, - int entryoffsetinblock); +static int ext2_dirbadentry(struct vnode *dp, struct ext2_dir_entry_2 *de, + int entryoffsetinblock); /* * Vnode op for reading directories. diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 4571bb7..37ee0fd 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -108,11 +108,10 @@ VFS_SET(ext2fs_vfsops, ext2fs, 0); static int ext2fs_inode_hash_lock; -static int ext2_check_sb_compat(struct ext2_super_block *es, - dev_t dev, int ronly); +static int ext2_check_sb_compat(struct ext2_super_block *es, dev_t dev, + int ronly); static int compute_sb_data(struct vnode * devvp, - struct ext2_super_block * es, - struct ext2_sb_info * fs); + struct ext2_super_block * es, struct ext2_sb_info * fs); #ifdef notyet static int ext2_mountroot(void); |