Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346076
b: refs/heads/master
c: 5084d71
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 5ba56f7 commit 93243d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5f9359201b5cf1d94fe0e0c47fcba38cfc921863
refs/heads/master: 5084d71d89e1a94193378efb12ac659e4e6ada3f
2 changes: 1 addition & 1 deletion trunk/include/linux/genl_magic_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ static inline int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla)

nla_for_each_attr(nla, head, len, rem) {
if (nla->nla_type & DRBD_GENLA_F_MANDATORY) {
nla->nla_type &= ~DRBD_GENLA_F_MANDATORY;
if (nla_type(nla) > maxtype)
return -EOPNOTSUPP;
nla->nla_type &= ~DRBD_GENLA_F_MANDATORY;
}
}
return 0;
Expand Down

0 comments on commit 93243d5

Please sign in to comment.