diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2013-08-01 10:21:47 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 16:24:47 +0100 |
commit | 8e2294343017d6b9a3026538e58ffe0d8bda3843 (patch) | |
tree | edff68cd329ca6648ba2466e1662b52b62492bc2 | |
parent | d9216c8d9a0bb25e3a9984c0395e27a24113431b (diff) | |
download | op-kernel-dev-8e2294343017d6b9a3026538e58ffe0d8bda3843.zip op-kernel-dev-8e2294343017d6b9a3026538e58ffe0d8bda3843.tar.gz |
drbd: Add missing error goto
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 4c00837..ff096c9 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -1273,6 +1273,7 @@ int drbd_adm_disk_opts(struct sk_buff *skb, struct genl_info *info) if (err && err != -ENOMSG) { retcode = ERR_MANDATORY_TAG; drbd_msg_put_info(from_attrs_err_to_txt(err)); + goto fail_unlock; } if (!expect(new_disk_conf->resync_rate >= 1)) |