summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_softdep.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-03-05 04:23:19 +0000
committerpfg <pfg@FreeBSD.org>2014-03-05 04:23:19 +0000
commitb4d210b85cee9665fda000d597907a8637a86961 (patch)
treed7aff21cf5508696429182e8bd056969695974d0 /sys/ufs/ffs/ffs_softdep.c
parent7616e36e49ea0576d5ac21ebc8dd98242b3e488d (diff)
downloadFreeBSD-src-b4d210b85cee9665fda000d597907a8637a86961.zip
FreeBSD-src-b4d210b85cee9665fda000d597907a8637a86961.tar.gz
MFC r262678;
ufs: small formatting fixes. Cleanup some extra space. Use of tabs vs. spaces. No functional change. Reviewed by: mckusick
Diffstat (limited to 'sys/ufs/ffs/ffs_softdep.c')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 827cc72..d65554b 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -119,7 +119,7 @@ softdep_mount(devvp, mp, fs, cred)
return (0);
}
-void
+void
softdep_initialize()
{
@@ -174,7 +174,7 @@ softdep_setup_blkmapdep(bp, mp, newblkno, frags, oldfrags)
panic("softdep_setup_blkmapdep called");
}
-void
+void
softdep_setup_allocdirect(ip, lbn, newblkno, oldblkno, newsize, oldsize, bp)
struct inode *ip;
ufs_lbn_t lbn;
@@ -188,7 +188,7 @@ softdep_setup_allocdirect(ip, lbn, newblkno, oldblkno, newsize, oldsize, bp)
panic("softdep_setup_allocdirect called");
}
-void
+void
softdep_setup_allocext(ip, lbn, newblkno, oldblkno, newsize, oldsize, bp)
struct inode *ip;
ufs_lbn_t lbn;
@@ -267,7 +267,7 @@ softdep_freefile(pvp, ino, mode)
panic("softdep_freefile called");
}
-int
+int
softdep_setup_directory_add(bp, dp, diroffset, newinum, newdirbp, isnewblk)
struct buf *bp;
struct inode *dp;
@@ -280,7 +280,7 @@ softdep_setup_directory_add(bp, dp, diroffset, newinum, newdirbp, isnewblk)
panic("softdep_setup_directory_add called");
}
-void
+void
softdep_change_directoryentry_offset(bp, dp, base, oldloc, newloc, entrysize)
struct buf *bp;
struct inode *dp;
@@ -293,7 +293,7 @@ softdep_change_directoryentry_offset(bp, dp, base, oldloc, newloc, entrysize)
panic("softdep_change_directoryentry_offset called");
}
-void
+void
softdep_setup_remove(bp, dp, ip, isrmdir)
struct buf *bp;
struct inode *dp;
@@ -304,7 +304,7 @@ softdep_setup_remove(bp, dp, ip, isrmdir)
panic("softdep_setup_remove called");
}
-void
+void
softdep_setup_directory_change(bp, dp, ip, newinum, isrmdir)
struct buf *bp;
struct inode *dp;
@@ -463,7 +463,7 @@ softdep_load_inodeblock(ip)
panic("softdep_load_inodeblock called");
}
-void
+void
softdep_update_inodeblock(ip, bp, waitfor)
struct inode *ip;
struct buf *bp;
@@ -753,7 +753,7 @@ static int sync_cgs(struct mount *, int);
static int handle_written_filepage(struct pagedep *, struct buf *);
static int handle_written_sbdep(struct sbdep *, struct buf *);
static void initiate_write_sbdep(struct sbdep *);
-static void diradd_inode_written(struct diradd *, struct inodedep *);
+static void diradd_inode_written(struct diradd *, struct inodedep *);
static int handle_written_indirdep(struct indirdep *, struct buf *,
struct buf**);
static int handle_written_inodeblock(struct inodedep *, struct buf *);
@@ -3246,7 +3246,7 @@ softdep_process_journal(mp, needwk, flags)
cnt++;
/*
* Verify some free journal space. softdep_prealloc() should
- * guarantee that we don't run out so this is indicative of
+ * guarantee that we don't run out so this is indicative of
* a problem with the flow control. Try to recover
* gracefully in any event.
*/
@@ -10488,7 +10488,7 @@ softdep_setup_inofree(mp, bp, ino, wkhd)
* We can free immediately even if the jaddref
* isn't attached in a background write as now
* the bitmaps are reconciled.
- */
+ */
wk->wk_state |= COMPLETE | ATTACHED;
free_jaddref(WK_JADDREF(wk));
}
@@ -10662,7 +10662,7 @@ jnewblk_rollback(jnewblk, fs, cgp, blksfree)
/* Add back in counts associated with the new frags */
blk = blkmap(fs, blksfree, bbase);
ffs_fragacct(fs, blk, cgp->cg_frsum, 1);
- /* If a complete block has been reassembled, account for it. */
+ /* If a complete block has been reassembled, account for it. */
fragno = fragstoblks(fs, bbase);
if (ffs_isblock(fs, blksfree, fragno)) {
cgp->cg_cs.cs_nffree -= fs->fs_frag;
@@ -10677,7 +10677,7 @@ jnewblk_rollback(jnewblk, fs, cgp, blksfree)
return (frags);
}
-static void
+static void
initiate_write_bmsafemap(bmsafemap, bp)
struct bmsafemap *bmsafemap;
struct buf *bp; /* The cg block. */
OpenPOWER on IntegriCloud