Date: Wed, 19 Jan 2011 16:55:33 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217585 - head/sys/fs/ext2fs Message-ID: <201101191655.p0JGtX72082721@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Jan 19 16:55:32 2011 New Revision: 217585 URL: http://svn.freebsd.org/changeset/base/217585 Log: Whitespace and style fixes. Modified: head/sys/fs/ext2fs/ext2_alloc.c head/sys/fs/ext2fs/ext2_dinode.h head/sys/fs/ext2fs/ext2fs.h Modified: head/sys/fs/ext2fs/ext2_alloc.c ============================================================================== --- head/sys/fs/ext2fs/ext2_alloc.c Wed Jan 19 16:52:22 2011 (r217584) +++ head/sys/fs/ext2fs/ext2_alloc.c Wed Jan 19 16:55:32 2011 (r217585) @@ -76,7 +76,6 @@ static daddr_t ext2_mapsearch(struct m_ * 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. Modified: head/sys/fs/ext2fs/ext2_dinode.h ============================================================================== --- head/sys/fs/ext2fs/ext2_dinode.h Wed Jan 19 16:52:22 2011 (r217584) +++ head/sys/fs/ext2fs/ext2_dinode.h Wed Jan 19 16:55:32 2011 (r217585) @@ -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_ */ Modified: head/sys/fs/ext2fs/ext2fs.h ============================================================================== --- head/sys/fs/ext2fs/ext2fs.h Wed Jan 19 16:52:22 2011 (r217584) +++ head/sys/fs/ext2fs/ext2fs.h Wed Jan 19 16:55:32 2011 (r217585) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101191655.p0JGtX72082721>