diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-07-10 04:45:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 13:24:25 -0700 |
commit | 2017b376c01a54bf7d26ad4f461abe9b5f9064fe (patch) | |
tree | 93c90bbb544f88911cc8dc6f52c3caa3248b9286 | |
parent | 21d71f513b6221f482ed6ad45e05f073ae67f319 (diff) | |
download | kernel_samsung_smdk4412-2017b376c01a54bf7d26ad4f461abe9b5f9064fe.zip kernel_samsung_smdk4412-2017b376c01a54bf7d26ad4f461abe9b5f9064fe.tar.gz kernel_samsung_smdk4412-2017b376c01a54bf7d26ad4f461abe9b5f9064fe.tar.bz2 |
[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>
-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 5327f55..1bc1cf9 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) |