Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933828Ab3GPXKf (ORCPT ); Tue, 16 Jul 2013 19:10:35 -0400 Received: from mga14.intel.com ([143.182.124.37]:26865 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933471Ab3GPXKe (ORCPT ); Tue, 16 Jul 2013 19:10:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,680,1367996400"; d="scan'208";a="366317919" From: "Kirill A. Shutemov" To: Matthew Wilcox , Andreas Dilger , Peng Tao , Oleg Drokin Cc: "Kirill A. Shutemov" , Andrea Arcangeli , Andrew Morton , Al Viro , Hugh Dickins , Wu Fengguang , Jan Kara , Mel Gorman , linux-mm@kvack.org, Andi Kleen , "Kirill A. Shutemov" , Hillf Danton , Dave Hansen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20130716191010.GC4855@linux.intel.com> References: <1373885274-25249-1-git-send-email-kirill.shutemov@linux.intel.com> <1373885274-25249-2-git-send-email-kirill.shutemov@linux.intel.com> <20130716191010.GC4855@linux.intel.com> Subject: Re: [PATCH 1/8] mm: drop actor argument of do_generic_file_read() Content-Transfer-Encoding: 7bit Message-Id: <20130716231327.36ED0E0090@blue.fi.intel.com> Date: Wed, 17 Jul 2013 02:13:27 +0300 (EEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 Lines: 34 Matthew Wilcox wrote: > On Mon, Jul 15, 2013 at 01:47:47PM +0300, Kirill A. Shutemov wrote: > > From: "Kirill A. Shutemov" > > > > There's only one caller of do_generic_file_read() and the only actor is > > file_read_actor(). No reason to have a callback parameter. > > > > Signed-off-by: Kirill A. Shutemov > > Acked-by: Dave Hansen > > Would it make sense to do the same thing to do_shmem_file_read()? > > From: Matthew Wilcox > > There's only one caller of do_shmem_file_read() and the only actor is > file_read_actor(). No reason to have a callback parameter. > > Signed-off-by: Matthew Wilcox Looks good to me: Reviewed-by: Kirill A. Shutemov v3.11-rc1 brings one more user for read_actor_t -- lustre. But it seemes it's artifact of ages when f_op had ->sendfile and it's not in use anymore. -- Kirill A. Shutemov -- 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/