diff options
Diffstat (limited to 'drivers/block/aoe/aoechr.c')
-rw-r--r-- | drivers/block/aoe/aoechr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index deb30c183fba..ed57a890c643 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c | |||
@@ -91,7 +91,7 @@ revalidate(const char __user *str, size_t size) | |||
91 | pr_err("aoe: invalid device specification %s\n", buf); | 91 | pr_err("aoe: invalid device specification %s\n", buf); |
92 | return -EINVAL; | 92 | return -EINVAL; |
93 | } | 93 | } |
94 | d = aoedev_by_aoeaddr(major, minor); | 94 | d = aoedev_by_aoeaddr(major, minor, 0); |
95 | if (!d) | 95 | if (!d) |
96 | return -EINVAL; | 96 | return -EINVAL; |
97 | spin_lock_irqsave(&d->lock, flags); | 97 | spin_lock_irqsave(&d->lock, flags); |