summaryrefslogtreecommitdiffstats
path: root/sys/sys/disk.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-07-08 05:56:14 +0000
committermarcel <marcel@FreeBSD.org>2009-07-08 05:56:14 +0000
commit8fa709769a72b5c4b2e95bf92bb0b53836b4881a (patch)
tree5caadd9b3e91865617319d5117cb5c08cd75adf6 /sys/sys/disk.h
parent13615958a8931e00cfc0760e1d87d16a8e52a40a (diff)
downloadFreeBSD-src-8fa709769a72b5c4b2e95bf92bb0b53836b4881a.zip
FreeBSD-src-8fa709769a72b5c4b2e95bf92bb0b53836b4881a.tar.gz
Revert revisions 188839 and 188868. Use of the ioctl in geom_dev.c
is invalid because the ioctl happens without prior open. The ioctl got introduced to provide backward compatibility for extended partitions, but it ended up not being used because it didn't work as expected. Since there are no consumers of the ioctl and the implementation is broken, the best fix is to remove the code entirely. Spotted by: phk Approved by: re (kensmith)
Diffstat (limited to 'sys/sys/disk.h')
-rw-r--r--sys/sys/disk.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sys/disk.h b/sys/sys/disk.h
index b645cd3..4fe2e09 100644
--- a/sys/sys/disk.h
+++ b/sys/sys/disk.h
@@ -104,10 +104,4 @@ void disk_err(struct bio *bp, const char *what, int blkdone, int nl);
* must be at least MAXPATHLEN bytes long.
*/
-#define DIOCGPROVIDERALIAS _IOR('d', 139, char[MAXPATHLEN])
- /*-
- * Store the provider alias, if present, in a buffer. The buffer must
- * be at least MAXPATHLEN bytes long.
- */
-
#endif /* _SYS_DISK_H_ */
OpenPOWER on IntegriCloud