Re: [PATCH] 2.4.x Linux Medley RAID Version 7

From: Christoph Hellwig
Date: Wed Mar 10 2004 - 11:47:28 EST


On Wed, Mar 10, 2004 at 05:07:38PM +0100, Bartlomiej Zolnierkiewicz wrote:
> + if (!inode || !inode->i_rdev)
> + {
> + return -EINVAL;
> + }
>
> if (!inode || !inode->i_rdev)
> return -EINVAL;

Actually it should just go away. The check is totally bogus.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/