Commit 2017b376 authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Linus Torvalds
Browse files

[PATCH] aoe: cleanup i_rdev usage

parent 21d71f51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)