Re: [PATCH] aio: negative offset should return -EINVAL

From: Zach Brown
Date: Thu Jan 03 2008 - 15:17:48 EST


Rusty Russell wrote:
> An AIO read or write should return -EINVAL if the offset is negative.
> This check matches the one in pread and pwrite.
>
> This was found by the libaio test suite.
>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

This looks fine to me.

Signed-off-by: Zach Brown <zach.brown@xxxxxxxxxx>

- z
--
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/