Re: [1/4] kevent: core files.

From: Evgeniy Polyakov
Date: Wed Jul 26 2006 - 07:21:08 EST


On Wed, Jul 26, 2006 at 03:31:05AM -0700, Andrew Morton (akpm@xxxxxxxx) wrote:
> Please indent the body of the switch one tabstop to the left.
..
> If the user passes this an fd which was obtained via means other than
> kevent_ctl_init(), the kernel will explode. Do
>
> if (file->f_fop != &kevent_user_fops)
> return -EINVAL;

Thanks, I will implement both.

--
Evgeniy Polyakov
-
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/