Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033952AbbKFWGI (ORCPT ); Fri, 6 Nov 2015 17:06:08 -0500 Received: from mta02.ornl.gov ([128.219.177.12]:45558 "EHLO mta02.ornl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030298AbbKFWGG convert rfc822-to-8bit (ORCPT ); Fri, 6 Nov 2015 17:06:06 -0500 X-SG: RELAYLIST X-IronPort-AV: E=Sophos;i="5.20,254,1444708800"; d="scan'208";a="91765669" From: "Simmons, James A." To: "'Shivani Bhardwaj'" , "gregkh@linuxfoundation.org" CC: "oleg.drokin@intel.com" , "devel@driverdev.osuosl.org" , "andreas.dilger@intel.com" , "linux-kernel@vger.kernel.org" , "lustre-devel@lists.lustre.org" Subject: RE: [PATCH] Staging: lustre: dir: Remove wrapper function Thread-Topic: [PATCH] Staging: lustre: dir: Remove wrapper function Thread-Index: AQHRGLQNHm0RPPpS6kemwu0CsIoGZ56PjRrw Date: Fri, 6 Nov 2015 22:06:03 +0000 Message-ID: References: <1446828929-3742-1-git-send-email-shivanib134@gmail.com> In-Reply-To: <1446828929-3742-1-git-send-email-shivanib134@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [128.219.12.132] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1989 Lines: 57 >From: devel [mailto:driverdev-devel-bounces@linuxdriverproject.org] On Behalf Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 11:55 AM >To: gregkh@linuxfoundation.org >Cc: oleg.drokin@intel.com; devel@driverdev.osuosl.org; andreas.dilger@intel.com; linux-kernel@vger.kernel.org; lustre-devel@lists.lustre.org >Subject: [PATCH] Staging: lustre: dir: Remove wrapper function > >Remove the function ll_check_page() and replace all its calls with the >function it wrapped. > >Signed-off-by: Shivani Bhardwaj >--- > drivers/staging/lustre/lustre/llite/dir.c | 9 ++------- > 1 file changed, 2 insertions(+), 7 deletions(-) Acked-by: James Simmons diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging/lustre/lustre/llite/dir.c index 5c9502b..842e6d6 100644 --- a/drivers/staging/lustre/lustre/llite/dir.c +++ b/drivers/staging/lustre/lustre/llite/dir.c @@ -239,12 +239,6 @@ static int ll_dir_filler(void *_hash, struct page *page0) return rc; } -static void ll_check_page(struct inode *dir, struct page *page) -{ - /* XXX: check page format later */ - SetPageChecked(page); -} - void ll_release_page(struct page *page, int remove) { kunmap(page); @@ -432,7 +426,8 @@ struct page *ll_get_dir_page(struct inode *dir, __u64 hash, goto fail; } if (!PageChecked(page)) - ll_check_page(dir, page); + /* XXX: check page format later */ + SetPageChecked(page); if (PageError(page)) { CERROR("page error: "DFID" at %llu: rc %d\n", PFID(ll_inode2fid(dir)), hash, -5); -- 2.1.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel -- 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/