diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2022-08-24 15:02:07 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2022-08-30 13:54:19 +0200 |
commit | 60ca2ce20fef54b3441dda051beebbc1847db50d (patch) | |
tree | e9f6200a598c846a4fd994cef5c3bb95da9c9ea8 /lib/locking | |
parent | 8d70cfe6005165e173643954e6cd9eff745e4aa4 (diff) | |
download | lvm2-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/locking')
-rw-r--r-- | lib/locking/lvmlockd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c index 60c80f1b1..f0183db3d 100644 --- a/lib/locking/lvmlockd.c +++ b/lib/locking/lvmlockd.c @@ -2555,7 +2555,7 @@ static int _lockd_lv_thin(struct cmd_context *cmd, struct logical_volume *lv, * Unlock when the pool is no longer active. */ - if (def_mode && !strcmp(def_mode, "un") && pool_is_active(pool_lv)) + if (def_mode && !strcmp(def_mode, "un") && thin_pool_is_active(pool_lv)) return 1; flags |= LDLV_MODE_NO_SH; |