commit | ba2e19b0f4ccd6920fe175a86521ff18ede260cb | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Tue Aug 02 12:32:06 2011 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Tue Aug 02 12:32:06 2011 +0100 |
tree | 25a9533cfbd1946da36483c3172914b9ea1f51cb | |
parent | 0ddf9644cc26e74ed671525e61a17bdbebf18da6 [diff] |
dm ioctl: introduce __get_dev_cell 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>