Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753391AbaFMQGc (ORCPT ); Fri, 13 Jun 2014 12:06:32 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:38081 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752473AbaFMQGb (ORCPT ); Fri, 13 Jun 2014 12:06:31 -0400 MIME-Version: 1.0 In-Reply-To: References: <248c69602c96d68aea1ffb4cb75e77ec38b6b75f.1402672110.git.d.kasatkin@samsung.com> Date: Fri, 13 Jun 2014 19:06:29 +0300 Message-ID: Subject: Re: [PATCH v2 1/1] firmware: read firmware size using i_size_read() From: Dmitry Kasatkin To: Ming Lei Cc: Dmitry Kasatkin , Greg Kroah-Hartman , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13 June 2014 19:03, Ming Lei wrote: > On Fri, Jun 13, 2014 at 11:09 PM, Dmitry Kasatkin > 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 > > Acked-by: Ming Lei > > > Thanks, > -- > Ming Lei Thanks. -- Thanks, Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/