From owner-svn-src-all@FreeBSD.ORG Wed Jan 19 16:55:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3041065695; Wed, 19 Jan 2011 16:55:33 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 44C508FC23; Wed, 19 Jan 2011 16:55:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0JGtXW6082725; Wed, 19 Jan 2011 16:55:33 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0JGtX72082721; Wed, 19 Jan 2011 16:55:33 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201101191655.p0JGtX72082721@svn.freebsd.org> From: John Baldwin Date: Wed, 19 Jan 2011 16:55:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217585 - head/sys/fs/ext2fs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 16:55:33 -0000 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 */