diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-06-07 16:54:17 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 10:44:52 -0500 |
commit | 05a10ec7900dbdba008a24bf56b3490c4b568d2c (patch) | |
tree | f89e7b2e71a15e1b41dae481ac6b3366c115d21e /drivers/block/drbd/drbd_proc.c | |
parent | a6b32bc3cebd3fb6848c526763733b9dbc389c02 (diff) |
drbd: Improve some function and variable naming
Rename functions
conn_destroy() -> drbd_destroy_connection(),
drbd_minor_destroy() -> drbd_destroy_device()
drbd_adm_add_minor() -> drbd_adm_add_minor()
drbd_adm_delete_minor() -> drbd_adm_del_minor()
Rename global variable minors to drbd_devices
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_proc.c')
-rw-r--r-- | drivers/block/drbd/drbd_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index f1c81c101fad..2f26e8ffa45b 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c | |||
@@ -236,7 +236,7 @@ static int drbd_seq_show(struct seq_file *seq, void *v) | |||
236 | */ | 236 | */ |
237 | 237 | ||
238 | rcu_read_lock(); | 238 | rcu_read_lock(); |
239 | idr_for_each_entry(&minors, device, i) { | 239 | idr_for_each_entry(&drbd_devices, device, i) { |
240 | if (prev_i != i - 1) | 240 | if (prev_i != i - 1) |
241 | seq_printf(seq, "\n"); | 241 | seq_printf(seq, "\n"); |
242 | prev_i = i; | 242 | prev_i = i; |