mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvresize: fix when compiled without lvmlockd
The no-op result of lockd_lv_resize should be success.
This commit is contained in:
parent
27cfeb1d39
commit
2f471f0184
@ -215,7 +215,7 @@ static inline int lockd_lv(struct cmd_context *cmd, struct logical_volume *lv,
|
||||
static inline int lockd_lv_resize(struct cmd_context *cmd, struct logical_volume *lv,
|
||||
const char *def_mode, uint32_t flags, struct lvresize_params *lp)
|
||||
{
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static inline int lockd_init_lv(struct cmd_context *cmd, struct volume_group *vg,
|
||||
|
Loading…
Reference in New Issue
Block a user