On 05/22/2013 04:15 PM, MORITA Kazutaka wrote: > Do you mean passing iocb->buf to get_open_flags() to check its > alignment? Yeah, looks like kind of ugly, it is the best place to check if buffer is aligned. maybe we should devise a better name for get_open_flags? Thanks, Yuan