]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Move logic to find device based on major/minor number to a separate
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 25 Jul 2011 00:49:56 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Jul 2011 00:49:56 +0000 (10:49 +1000)
commitcd7734b22c628d6d29fea4a383ba41eab8491c2e
tree8eb72cfc453239d4b58c8e59dfdeaf3f666566d0
parent7fc114a50fbbb5f8bf236c904c644af349352337
Move logic to find device based on major/minor number to a separate
function __get_dev_cell (similar to __get_uuid_cell and __get_name_cell).
This makes the function __find_device_hash_cell more straightforward.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c