On Fri, Jun 13, 2014 at 11:09 PM, Dmitry Kasatkin <d.kasat...@samsung.com> wrote: > There is no need to read attr because inode structure contains size > of the file. Use i_size_read() instead. > > Signed-off-by: Dmitry Kasatkin <d.kasat...@samsung.com>
Acked-by: Ming Lei <ming....@canonical.com> Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/