Put DIOCWLABEL under #ifdef NO_GEOM

This commit is contained in:
Poul-Henning Kamp 2003-01-26 19:43:18 +00:00
parent 8657b576d8
commit 5bdd667ffe

View File

@ -298,8 +298,10 @@ static const char *fstypenames[] = {
#define DIOCGDINFO _IOR('d', 101, struct disklabel)/* get */
#define DIOCSDINFO _IOW('d', 102, struct disklabel)/* set */
#define DIOCWDINFO _IOW('d', 103, struct disklabel)/* set, update disk */
#ifdef NO_GEOM
#define DIOCWLABEL _IOW('d', 109, int) /* write en/disable label */
#endif
#ifdef _KERNEL