projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d71f5
)
[PATCH] aoe: cleanup i_rdev usage
author
Eric Sesterhenn
<snakebyte@gmx.de>
Mon, 10 Jul 2006 11:45:32 +0000
(
04:45
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:25 +0000
(13:24 -0700)
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>
drivers/block/aoe/aoechr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/aoe/aoechr.c
b/drivers/block/aoe/aoechr.c
index 5327f553b4f59e13db2098b264e1628513c5c023..1bc1cf9603f19c4e4975bb63c1ff5ccbeb09a7cb 100644
(file)
--- 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)