diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-07-03 23:32:26 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 16:45:05 +0100 |
commit | f82795d683333a4701ab48b0d422ebbc437f25a5 (patch) | |
tree | 4309c41dd46a05ebe01c799ef06b3c809a7c5ff5 /drivers/block/drbd/drbd_main.c | |
parent | 0b0ba1efc7b887bc2bd767ef822979fe2dae620e (diff) | |
download | lwn-f82795d683333a4701ab48b0d422ebbc437f25a5.tar.gz lwn-f82795d683333a4701ab48b0d422ebbc437f25a5.zip |
drbd: Rename drbd_{create,delete}_minor -> drbd_{create,delete}_device
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 358eb3445f72..522e103ce494 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -2327,7 +2327,7 @@ static void drbd_cleanup(void) drbd_genl_unregister(); idr_for_each_entry(&drbd_devices, device, i) - drbd_delete_minor(device); + drbd_delete_device(device); /* not _rcu since, no other updater anymore. Genl already unregistered */ for_each_resource_safe(resource, tmp, &drbd_resources) { @@ -2659,7 +2659,7 @@ static int init_submitter(struct drbd_device *device) return 0; } -enum drbd_ret_code drbd_create_minor(struct drbd_connection *connection, unsigned int minor, int vnr) +enum drbd_ret_code drbd_create_device(struct drbd_connection *connection, unsigned int minor, int vnr) { struct drbd_resource *resource = connection->resource; struct drbd_device *device; @@ -2809,7 +2809,7 @@ out_no_peer_device: return err; } -void drbd_delete_minor(struct drbd_device *device) +void drbd_delete_device(struct drbd_device *device) { struct drbd_resource *resource = device->resource; struct drbd_connection *connection; |