Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346107
b: refs/heads/master
c: f2257a5
h: refs/heads/master
i:
  346105: 809cb53
  346103: 9593ad5
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 3f44ab2 commit 5a0dd6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 0317d9ecbc9bac43642b4aa70e3e1106f4fd26a1
refs/heads/master: f2257a56eeb4afb3daea894baf93077af0579586
3 changes: 1 addition & 2 deletions trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3034,8 +3034,7 @@ int drbd_adm_add_minor(struct sk_buff *skb, struct genl_info *info)
if (retcode != NO_ERROR)
goto out;

/* FIXME drop minor_count parameter, limit to MINORMASK */
if (dh->minor >= minor_count) {
if (dh->minor > MINORMASK) {
drbd_msg_put_info("requested minor out of range");
retcode = ERR_INVALID_REQUEST;
goto out;
Expand Down

0 comments on commit 5a0dd6b

Please sign in to comment.