summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_extern.h
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-03-21 04:09:01 +0000
committermckusick <mckusick@FreeBSD.org>2001-03-21 04:09:01 +0000
commit69603157dedb4757ce880ddfc5157558441cf985 (patch)
tree6378d524f9c6f5c077153375f319c0f93a7682cf /sys/ufs/ffs/ffs_extern.h
parent39275d892cc0291136bb750a2f1191137371de42 (diff)
downloadFreeBSD-src-69603157dedb4757ce880ddfc5157558441cf985.zip
FreeBSD-src-69603157dedb4757ce880ddfc5157558441cf985.tar.gz
Add kernel support for running fsck on active filesystems.
Diffstat (limited to 'sys/ufs/ffs/ffs_extern.h')
-rw-r--r--sys/ufs/ffs/ffs_extern.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h
index a755980..4c8e22f 100644
--- a/sys/ufs/ffs/ffs_extern.h
+++ b/sys/ufs/ffs/ffs_extern.h
@@ -37,21 +37,6 @@
#ifndef _UFS_FFS_EXTERN_H
#define _UFS_FFS_EXTERN_H
-/*
- * Sysctl values for the fast filesystem.
- */
-#define FFS_REALLOCBLKS 3 /* block reallocation enabled */
-#define FFS_ASYNCFREE 4 /* asynchronous block freeing enabled */
-#define FFS_MAXID 5 /* number of valid ffs ids */
-
-#define FFS_NAMES { \
- { 0, 0 }, \
- { 0, 0 }, \
- { 0, 0 }, \
- { "doreallocblks", CTLTYPE_INT }, \
- { "doasyncfree", CTLTYPE_INT }, \
-}
-
struct buf;
struct fid;
struct fs;
@@ -80,7 +65,7 @@ void ffs_clrblock __P((struct fs *, u_char *, ufs_daddr_t));
int ffs_fhtovp __P((struct mount *, struct fid *, struct vnode **));
int ffs_flushfiles __P((struct mount *, int, struct proc *));
void ffs_fragacct __P((struct fs *, int, int32_t [], int));
-int ffs_freefile __P(( struct vnode *, ino_t, int ));
+int ffs_freefile __P((struct inode *, ino_t, int ));
int ffs_isblock __P((struct fs *, u_char *, ufs_daddr_t));
int ffs_isfreeblock __P((struct fs *, unsigned char *, ufs_daddr_t));
int ffs_mountfs __P((struct vnode *, struct mount *, struct proc *,
OpenPOWER on IntegriCloud