summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-26 20:13:21 +0000
committerphk <phk@FreeBSD.org>2004-10-26 20:13:21 +0000
commit08b5d8832a67e4dafe7dc1a9d94e94a247254b30 (patch)
tree97b3928899cf3d12e488cfcd0ddb813ebd33eac6 /sys/ufs
parent5e6094204e3ab887f27b8fd8f73201a49a9ba764 (diff)
downloadFreeBSD-src-08b5d8832a67e4dafe7dc1a9d94e94a247254b30.zip
FreeBSD-src-08b5d8832a67e4dafe7dc1a9d94e94a247254b30.tar.gz
White space changes. Add missing static.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index df06616..2f79edb 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -101,9 +101,9 @@ VFS_SET(ufs_vfsops, ufs, 0);
static b_strategy_t ffs_geom_strategy;
static struct buf_ops ffs_ops = {
- .bop_name = "FFS",
- .bop_write = bufwrite,
- .bop_strategy = ffs_geom_strategy,
+ .bop_name = "FFS",
+ .bop_write = bufwrite,
+ .bop_strategy = ffs_geom_strategy,
};
/*
@@ -670,8 +670,7 @@ ffs_mountfs(devvp, mp, td)
fs->fs_pendinginodes = 0;
}
ump = malloc(sizeof *ump, M_UFSMNT, M_WAITOK | M_ZERO);
- ump->um_fs = malloc((u_long)fs->fs_sbsize, M_UFSMNT,
- M_WAITOK);
+ ump->um_fs = malloc((u_long)fs->fs_sbsize, M_UFSMNT, M_WAITOK);
if (fs->fs_magic == FS_UFS1_MAGIC) {
ump->um_fstype = UFS1;
ump->um_balloc = ffs_balloc_ufs1;
@@ -1538,7 +1537,7 @@ ffs_ifree(struct ufsmount *ump, struct inode *ip)
uma_zfree(uma_inode, ip);
}
-void
+static void
ffs_geom_strategy(struct bufobj *bo, struct buf *bp)
{
int i = 0;
OpenPOWER on IntegriCloud