diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-07-10 07:45:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:25 -0400 |
commit | 2017b376c01a54bf7d26ad4f461abe9b5f9064fe (patch) | |
tree | 93c90bbb544f88911cc8dc6f52c3caa3248b9286 /drivers/block/aoe | |
parent | 21d71f513b6221f482ed6ad45e05f073ae67f319 (diff) |
[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) | |||
162 | { | 162 | { |
163 | int n, i; | 163 | int n, i; |
164 | 164 | ||
165 | n = MINOR(inode->i_rdev); | 165 | n = iminor(inode); |
166 | filp->private_data = (void *) (unsigned long) n; | 166 | filp->private_data = (void *) (unsigned long) n; |
167 | 167 | ||
168 | for (i = 0; i < ARRAY_SIZE(chardevs); ++i) | 168 | for (i = 0; i < ARRAY_SIZE(chardevs); ++i) |