diff --git a/sys/dev/vinum/vinumio.h b/sys/dev/vinum/vinumio.h index b36dcead2046..bf5134a64f90 100644 --- a/sys/dev/vinum/vinumio.h +++ b/sys/dev/vinum/vinumio.h @@ -33,7 +33,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumio.h,v 1.22 2003/04/24 07:36:09 grog Exp $ + * $Id: vinumio.h,v 1.23 2003/05/04 05:25:46 grog Exp grog $ * $FreeBSD$ */ @@ -131,7 +131,6 @@ struct vinum_rename_msg { #define VINUM_STARTCONFIG _IOW(L, 78, int) /* start a configuration operation */ #define VINUM_MEMINFO _IOR(L, 79, struct meminfo) /* get memory usage summary */ #define VINUM_MALLOCINFO _IOWR(L, 80, struct mc) /* get specific malloc information [i] */ -#define VINUM_LABEL _IOC(IOC_IN | IOC_OUT, L, 81, MAX_IOCTL_REPLY) /* label a volume */ #define VINUM_INITSD _IOW(L, 82, int) /* initialize a subdisk */ #define VINUM_REMOVE _IOWR(L, 83, struct _ioctl_reply) /* remove an object */ #define VINUM_READPOL _IOWR(L, 84, struct _ioctl_reply) /* set read policy */ diff --git a/sys/dev/vinum/vinumioctl.c b/sys/dev/vinum/vinumioctl.c index d06a8e192598..2f7b8766dc15 100644 --- a/sys/dev/vinum/vinumioctl.c +++ b/sys/dev/vinum/vinumioctl.c @@ -41,7 +41,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumioctl.c,v 1.23 2003/05/23 01:02:22 grog Exp $ + * $Id: vinumioctl.c,v 1.23 2003/05/23 01:02:22 grog Exp grog $ * $FreeBSD$ */ @@ -359,11 +359,6 @@ vinum_super_ioctl(dev_t dev, return vinum_rqinfo(data); #endif - case VINUM_LABEL: /* label a volume */ - ioctl_reply->error = write_volume_label(*(int *) data); /* index of the volume to label */ - ioctl_reply->msg[0] = '\0'; /* no message */ - return 0; - case VINUM_REMOVE: remove((struct vinum_ioctl_msg *) data); /* remove an object */ return 0;