drbd: Add missing error goto
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
parent
d9216c8d9a
commit
8e22943430
|
@ -1273,6 +1273,7 @@ int drbd_adm_disk_opts(struct sk_buff *skb, struct genl_info *info)
|
||||||
if (err && err != -ENOMSG) {
|
if (err && err != -ENOMSG) {
|
||||||
retcode = ERR_MANDATORY_TAG;
|
retcode = ERR_MANDATORY_TAG;
|
||||||
drbd_msg_put_info(from_attrs_err_to_txt(err));
|
drbd_msg_put_info(from_attrs_err_to_txt(err));
|
||||||
|
goto fail_unlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!expect(new_disk_conf->resync_rate >= 1))
|
if (!expect(new_disk_conf->resync_rate >= 1))
|
||||||
|
|
Loading…
Reference in New Issue