diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
| commit | f1d19042b082d95f07a0027e596ba2405aa8a9a5 (patch) | |
| tree | b856be4db5efb04d68d01039a157119ac8613b9f /sys/gnu/ext2fs | |
| parent | f769cca5eb9fed523269d85eefe74037ff7bd1b5 (diff) | |
Notes
Diffstat (limited to 'sys/gnu/ext2fs')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_subr.c | 5 | ||||
| -rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/gnu/ext2fs/ext2_subr.c b/sys/gnu/ext2fs/ext2_subr.c index 30da6a7300cbd..642caa784cf16 100644 --- a/sys/gnu/ext2fs/ext2_subr.c +++ b/sys/gnu/ext2fs/ext2_subr.c @@ -52,7 +52,11 @@ #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> +#include "opt_ddb.h" + +#ifdef DDB static void ext2_checkoverlap __P((struct buf *, struct inode *)); +#endif /* * Return buffer with the contents of block "offset" from the beginning of @@ -88,7 +92,6 @@ ext2_blkatoff(vp, offset, res, bpp) return (0); } -#include "opt_ddb.h" #ifdef DDB static void ext2_checkoverlap(bp, ip) diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 446ef3be8d7d3..ea756b5a6ddd6 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -893,7 +893,6 @@ ext2_sync(mp, waitfor, cred, p) struct inode *ip; struct ufsmount *ump = VFSTOUFS(mp); struct ext2_sb_info *fs; - struct timeval tv; int error, allerror = 0; fs = ump->um_e2fs; @@ -1171,7 +1170,7 @@ ext2_sbupdate(mp, waitfor) register struct ext2_sb_info *fs = mp->um_e2fs; register struct ext2_super_block *es = fs->s_es; register struct buf *bp; - int i, error = 0; + int error = 0; /* printf("\nupdating superblock, waitfor=%s\n", waitfor == MNT_WAIT ? "yes":"no"); */ |
