From f09fe0ad0f425cb546db11178e724a5c85c2b83d Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 30 Mar 2004 14:38:57 +0000 Subject: [PATCH] Rename dev_manager_mknodes -> dev_manager_lv_mknodes etc. --- lib/activate/activate.c | 4 ++-- lib/activate/dev_manager.c | 4 ++-- lib/activate/dev_manager.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/activate/activate.c b/lib/activate/activate.c index 54ea45af0..8eef753ec 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -736,9 +736,9 @@ int lv_mknodes(struct cmd_context *cmd, const struct logical_volume *lv) } if (info.exists) - r = dev_manager_mknodes(lv); + r = dev_manager_lv_mknodes(lv); else - r = dev_manager_rmnodes(lv); + r = dev_manager_lv_rmnodes(lv); fs_unlock(); diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c index 20224828a..782dc6484 100644 --- a/lib/activate/dev_manager.c +++ b/lib/activate/dev_manager.c @@ -2183,7 +2183,7 @@ int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv) return _action(dm, lv, SUSPEND); } -int dev_manager_mknodes(const struct logical_volume *lv) +int dev_manager_lv_mknodes(const struct logical_volume *lv) { char *name; @@ -2196,7 +2196,7 @@ int dev_manager_mknodes(const struct logical_volume *lv) return fs_add_lv(lv, name); } -int dev_manager_rmnodes(const struct logical_volume *lv) +int dev_manager_lv_rmnodes(const struct logical_volume *lv) { return fs_del_lv(lv); } diff --git a/lib/activate/dev_manager.h b/lib/activate/dev_manager.h index ebf910274..91680df85 100644 --- a/lib/activate/dev_manager.h +++ b/lib/activate/dev_manager.h @@ -38,8 +38,8 @@ int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv); int dev_manager_activate(struct dev_manager *dm, struct logical_volume *lv); int dev_manager_deactivate(struct dev_manager *dm, struct logical_volume *lv); -int dev_manager_mknodes(const struct logical_volume *lv); -int dev_manager_rmnodes(const struct logical_volume *lv); +int dev_manager_lv_mknodes(const struct logical_volume *lv); +int dev_manager_lv_rmnodes(const struct logical_volume *lv); /* * Put the desired changes into effect.