From 6bf702a55bf6e540929bc37a97ba26e51394a94c Mon Sep 17 00:00:00 2001
From: netchild <netchild@FreeBSD.org>
Date: Fri, 25 Feb 2011 10:24:35 +0000
Subject: 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
---
 sys/geom/linux_lvm/g_linux_lvm.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'sys/geom/linux_lvm/g_linux_lvm.c')

diff --git a/sys/geom/linux_lvm/g_linux_lvm.c b/sys/geom/linux_lvm/g_linux_lvm.c
index d210611..2ac19e0 100644
--- a/sys/geom/linux_lvm/g_linux_lvm.c
+++ b/sys/geom/linux_lvm/g_linux_lvm.c
@@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$");
 
 #include <geom/linux_lvm/g_linux_lvm.h>
 
+FEATURE(geom_linux_lvm, "GEOM Linux LVM partitioning support");
+
 /* Declare malloc(9) label */
 static MALLOC_DEFINE(M_GLLVM, "gllvm", "GEOM_LINUX_LVM Data");
 
-- 
cgit v1.1