Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346078
b: refs/heads/master
c: c75b9b1
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 8fe2a14 commit f5ff3f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1e2a2551ee8fbbac082eb4c14af1289e7aa880f0
refs/heads/master: c75b9b10e7f09bbf9660dd20a675e0a8069bd529
6 changes: 3 additions & 3 deletions trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ int drbd_adm_disk_opts(struct sk_buff *skb, struct genl_info *info)
set_disk_conf_defaults(new_disk_conf);

err = disk_conf_from_attrs_for_change(new_disk_conf, info);
if (err) {
if (err && err != -ENOMSG) {
retcode = ERR_MANDATORY_TAG;
drbd_msg_put_info(from_attrs_err_to_txt(err));
}
Expand Down Expand Up @@ -1902,7 +1902,7 @@ int drbd_adm_net_opts(struct sk_buff *skb, struct genl_info *info)
set_net_conf_defaults(new_conf);

err = net_conf_from_attrs_for_change(new_conf, info);
if (err) {
if (err && err != -ENOMSG) {
retcode = ERR_MANDATORY_TAG;
drbd_msg_put_info(from_attrs_err_to_txt(err));
goto fail;
Expand Down Expand Up @@ -2337,7 +2337,7 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info)
set_res_opts_defaults(&res_opts);

err = res_opts_from_attrs(&res_opts, info);
if (err) {
if (err && err != -ENOMSG) {
retcode = ERR_MANDATORY_TAG;
drbd_msg_put_info(from_attrs_err_to_txt(err));
goto fail;
Expand Down

0 comments on commit f5ff3f2

Please sign in to comment.