summaryrefslogtreecommitdiff
path: root/lib/activate
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2022-08-24 15:02:07 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2022-08-30 13:54:19 +0200
commit60ca2ce20fef54b3441dda051beebbc1847db50d (patch)
treee9f6200a598c846a4fd994cef5c3bb95da9c9ea8 /lib/activate
parent8d70cfe6005165e173643954e6cd9eff745e4aa4 (diff)
downloadlvm2-60ca2ce20fef54b3441dda051beebbc1847db50d.tar.gz
thin: rename internal function
Names matching internal code layout. Functionc in thin_manip.c uses thin_pool in its name. Keep 'pool' only for function working for both cache and thin pools. No change of functionality.
Diffstat (limited to 'lib/activate')
-rw-r--r--lib/activate/activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/activate/activate.c b/lib/activate/activate.c
index a92fbb8e1..2f3c231cc 100644
--- a/lib/activate/activate.c
+++ b/lib/activate/activate.c
@@ -2764,7 +2764,7 @@ static int _component_cb(struct logical_volume *lv, void *data)
if (lv_is_locked(lv) || lv_is_pvmove(lv) ||/* ignoring */
/* thin-pool is special and it's using layered device */
- (lv_is_thin_pool(lv) && pool_is_active(lv)))
+ (lv_is_thin_pool(lv) && thin_pool_is_active(lv)))
return -1;
/* External origin is activated through thinLV and uses -real suffix.