mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
lvmlockd: use ret value in query function
This commit is contained in:
parent
7404216241
commit
8810c11bc9
@ -2114,7 +2114,7 @@ static int _query_lock_lv(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
if (result == -ENOENT)
|
if (result == -ENOENT)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 1;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user