diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-07-10 13:45:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 22:24:25 +0200 |
commit | 2017b376c01a54bf7d26ad4f461abe9b5f9064fe (patch) | |
tree | 93c90bbb544f88911cc8dc6f52c3caa3248b9286 /drivers/block/aoe | |
parent | [PATCH] uninline init_waitqueue_head() (diff) | |
download | linux-2017b376c01a54bf7d26ad4f461abe9b5f9064fe.tar.xz linux-2017b376c01a54bf7d26ad4f461abe9b5f9064fe.zip |
[PATCH] aoe: cleanup i_rdev usage
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/aoe')
-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 5327f553b4f5..1bc1cf9603f1 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c @@ -162,7 +162,7 @@ aoechr_open(struct inode *inode, struct file *filp) { int n, i; - n = MINOR(inode->i_rdev); + n = iminor(inode); filp->private_data = (void *) (unsigned long) n; for (i = 0; i < ARRAY_SIZE(chardevs); ++i) |