Commit fd8fbf61 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] don't display viocd partitions in /proc/paritions

From: Olaf Hering <olh@suse.de>

Further to the recent removal of CDROMs from /proc/partitions.
parent 4ab0808d
......@@ -615,7 +615,7 @@ static int __init viocd_init(void)
VIOCD_DEVICE_DEVFS "%d", deviceno);
gendisk->queue = viocd_queue;
gendisk->fops = &viocd_fops;
gendisk->flags = GENHD_FL_CD;
gendisk->flags = GENHD_FL_CD|GENHD_FL_REMOVABLE;
set_capacity(gendisk, 0);
gendisk->private_data = d;
d->viocd_disk = gendisk;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment