um: track 'parent' device in a local variable
authorDan Williams <dan.j.williams@intel.com>
Mon, 20 Jun 2016 17:44:32 +0000 (10:44 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 22 Jun 2016 17:19:16 +0000 (10:19 -0700)
commitd72a57835c92f6d51863b0ad6d7d45e3859e24d4
tree616e2f91b5f2a938454536a55f688769a847f774
parent307d8e6f248558b184a2513593dbbeb08406a4fa
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: Dan Williams <dan.j.williams@intel.com>
arch/um/drivers/ubd_kern.c