aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs/ext2_balloc.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2011-12-16 15:47:43 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2011-12-16 15:47:43 +0000
commit5ed5554f0a74b43e770c70da398503c2a018d4c3 (patch)
tree29f8abe9508495bd9e6dd9171b0eb65400ed1dd9 /sys/fs/ext2fs/ext2_balloc.c
parent50541c922e709424cff5d18ccb445d3b6bb3009e (diff)
downloadsrc-5ed5554f0a74b43e770c70da398503c2a018d4c3.tar.gz
src-5ed5554f0a74b43e770c70da398503c2a018d4c3.zip
Style cleanups by jh@.
Fix a comment from the previous commit. Use M_ZERO instead of bzero() in ext2_vfsops.c Add include guards from PR. PR: 162564 Approved by: jhb (mentor) MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=228583
Diffstat (limited to 'sys/fs/ext2fs/ext2_balloc.c')
-rw-r--r--sys/fs/ext2fs/ext2_balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_balloc.c b/sys/fs/ext2fs/ext2_balloc.c
index 3fb19763d530..6e60c6e299b9 100644
--- a/sys/fs/ext2fs/ext2_balloc.c
+++ b/sys/fs/ext2fs/ext2_balloc.c
@@ -156,7 +156,7 @@ ext2_balloc(ip, lbn, size, cred, bpp, flags)
*/
pref = 0;
if ((error = ext2_getlbns(vp, lbn, indirs, &num)) != 0)
- return(error);
+ return (error);
#ifdef DIAGNOSTIC
if (num < 1)
panic ("ext2_balloc: ext2_getlbns returned indirect block");