Remove VINUM_LABEL ioctl. It has been deprecated since December 1998,

and recent changes broke it altogether.

Prompted by:  phk
This commit is contained in:
grog 2003-06-12 05:32:31 +00:00
parent 24f0dcc204
commit 7110b3aba6
2 changed files with 2 additions and 8 deletions

View File

@ -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 */

View File

@ -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;