1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Whitespace and style fixes.

This commit is contained in:
John Baldwin 2011-01-19 16:55:32 +00:00
parent f82a066c72
commit 08b1d53573
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217585
3 changed files with 5 additions and 6 deletions

View File

@ -76,7 +76,6 @@ static daddr_t ext2_mapsearch(struct m_ext2fs *, char *, daddr_t);
* 2) quadradically rehash into other cylinder groups, until an
* available block is located.
*/
int
ext2_alloc(ip, lbn, bpref, size, cred, bnp)
struct inode *ip;
@ -222,7 +221,7 @@ return ENOSPC;
/*
* Find the preferred location for the cluster.
*/
EXT2_LOCK(ump);
EXT2_LOCK(ump);
pref = ext2_blkpref(ip, start_lbn, soff, sbap, blkno);
/*
* If the block range spans two block maps, get the second map.

View File

@ -74,5 +74,5 @@ struct ext2fs_dinode {
u_int32_t e2di_linux_reserved3; /* 124 */
};
#endif /* _FS_EXT2FS_EXT2_DINODE_H_ */
#endif /* !_FS_EXT2FS_EXT2_DINODE_H_ */

View File

@ -153,8 +153,8 @@ struct m_ext2fs {
uint32_t e2fs_bshift; /* calc of logical block no */
int32_t e2fs_bmask; /* calc of block offset */
int32_t e2fs_bpg; /* Number of blocks per group */
int64_t e2fs_qbmask; /* = s_blocksize -1 */
uint32_t e2fs_fsbtodb; /* Shift to get disk block */
int64_t e2fs_qbmask; /* = s_blocksize -1 */
uint32_t e2fs_fsbtodb; /* Shift to get disk block */
uint32_t e2fs_ipg; /* Number of inodes per group */
uint32_t e2fs_ipb; /* Number of inodes per block */
uint32_t e2fs_itpg; /* Number of inode table per group */
@ -326,4 +326,4 @@ struct ext2_gd {
#endif
#endif /* _LINUX_EXT2_FS_H */
#endif /* !_FS_EXT2FS_EXT2FS_H */