OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/drivers/block/aoe/aoechr.c
b/drivers/block/aoe/aoechr.c
index
5327f55
..
1bc1cf9
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)