]> 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, 1 Aug 2011 00:51:06 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Aug 2011 00:51:06 +0000 (10:51 +1000)
commite49a4ddf1940eea28dfc09974e1354c55bfb08ee
treedb6e7b5dd117703d29f3b16ea0eba2d604e5f638
parent292d0a53007a6c0a0e502533345e21c91a4486c2
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