summaryrefslogtreecommitdiffstats
path: root/sys/geom/virstor
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2011-02-25 10:24:35 +0000
committernetchild <netchild@FreeBSD.org>2011-02-25 10:24:35 +0000
commit6bf702a55bf6e540929bc37a97ba26e51394a94c (patch)
tree9d3d4c4ac744558b0f121bc95130f956f192c80f /sys/geom/virstor
parentcc4128c6b1ffcb09a70e70959874cc2bb6e81d0e (diff)
downloadFreeBSD-src-6bf702a55bf6e540929bc37a97ba26e51394a94c.zip
FreeBSD-src-6bf702a55bf6e540929bc37a97ba26e51394a94c.tar.gz
Add some FEATURE macros for various GEOM classes.
No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: silence on geom@ during 2 weeks X-MFC after: to be determined in last commit with code from this project
Diffstat (limited to 'sys/geom/virstor')
-rw-r--r--sys/geom/virstor/g_virstor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/virstor/g_virstor.c b/sys/geom/virstor/g_virstor.c
index 38ce782..d48a2b1 100644
--- a/sys/geom/virstor/g_virstor.c
+++ b/sys/geom/virstor/g_virstor.c
@@ -52,6 +52,8 @@ __FBSDID("$FreeBSD$");
#include <geom/virstor/g_virstor.h>
#include <geom/virstor/g_virstor_md.h>
+FEATURE(g_virstor, "GEOM virtual storage support");
+
/* Declare malloc(9) label */
static MALLOC_DEFINE(M_GVIRSTOR, "gvirstor", "GEOM_VIRSTOR Data");
OpenPOWER on IntegriCloud