Hi, I need to use the struct gendisk, to get the disk capacity "via" struct request_queue. I know
disk = container_of(queue->kobj.parent, struct gendisk, kobj);
with the old kernel, but with 2.6.26?
More information about formatting options