Add ioctls VINUM_CHECKPARITY and VINUM_RESETPARITY, still to be fully

implemented.
This commit is contained in:
grog 1999-09-28 22:55:37 +00:00
parent 870bf32856
commit 5a83a31cac

View File

@ -301,6 +301,14 @@ vinumioctl(dev_t dev,
*(int *) data = daemon_options;
return 0;
case VINUM_CHECKPARITY: /* check RAID-5 parity */
parityops((struct vinum_ioctl_msg *) data, checkparity);
return 0;
case VINUM_REBUILDPARITY: /* rebuild RAID-5 parity */
parityops((struct vinum_ioctl_msg *) data, rebuildparity);
return 0;
default:
/* FALLTHROUGH */
}