mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
lvmlockd: clear coverity complaint
from previous coverity fix, it's never happy.
This commit is contained in:
parent
81be333e9f
commit
3f9ae846b8
@ -2148,7 +2148,7 @@ int lockd_lv_name(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
static int _lockd_lv_thin(struct cmd_context *cmd, struct logical_volume *lv,
|
static int _lockd_lv_thin(struct cmd_context *cmd, struct logical_volume *lv,
|
||||||
const char *def_mode, uint32_t flags)
|
const char *def_mode, uint32_t flags)
|
||||||
{
|
{
|
||||||
struct logical_volume *pool_lv;
|
struct logical_volume *pool_lv = NULL;
|
||||||
|
|
||||||
if (lv_is_thin_volume(lv)) {
|
if (lv_is_thin_volume(lv)) {
|
||||||
struct lv_segment *pool_seg = first_seg(lv);
|
struct lv_segment *pool_seg = first_seg(lv);
|
||||||
|
Loading…
Reference in New Issue
Block a user