Skip to content
Commit d72a5783 authored by Dan Williams's avatar Dan Williams
Browse files

um: track 'parent' device in a local variable



In preparation for the removal of 'driverfs_dev' from 'struct gendisk'
use a local variable to track the parented vs un-parented case in
ubd_disk_register().

Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 307d8e6f
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