summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_snapshot.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
committerphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
commite27fed0950bce6104eff3b285e2d686c16ed0c0f (patch)
treef8881a1706abe6ff98361858048c6c983eb2c4bd /sys/ufs/ffs/ffs_snapshot.c
parent4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d (diff)
downloadFreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.zip
FreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.tar.gz
ARGH! SBLOCK is not unused. Try to get this right.
BBSIZE belongs in <sys/disklabel.h> (but shouldn't be a constant). Define SBLOCK again, using the right math. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index 257450b..7965211 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
+#include <sys/disklabel.h>
#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
OpenPOWER on IntegriCloud