diff options
author | phk <phk@FreeBSD.org> | 2003-05-02 06:29:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-02 06:29:33 +0000 |
commit | 4ac5216f830b5fc89262d7720e52038ab0a96d9e (patch) | |
tree | 9f5de442aa37e33fa8f2e09720ff7872c65deea8 /sys/geom/geom_slice.h | |
parent | a50936449c3b72a8409e56cd2f6f3f777691331c (diff) | |
download | FreeBSD-src-4ac5216f830b5fc89262d7720e52038ab0a96d9e.zip FreeBSD-src-4ac5216f830b5fc89262d7720e52038ab0a96d9e.tar.gz |
Use a more tailored spoil routine for slices, and take advantage of
g_wither_geom() to do most of the work for us.
Diffstat (limited to 'sys/geom/geom_slice.h')
-rw-r--r-- | sys/geom/geom_slice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_slice.h b/sys/geom/geom_slice.h index f6883e6..887cfac 100644 --- a/sys/geom/geom_slice.h +++ b/sys/geom/geom_slice.h @@ -70,6 +70,7 @@ struct g_slicer { g_dumpconf_t g_slice_dumpconf; int g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...); +void g_slice_spoiled(struct g_consumer *cp); #define G_SLICE_CONFIG_CHECK 0 #define G_SLICE_CONFIG_SET 1 #define G_SLICE_CONFIG_FORCE 2 |