From patchwork Mon May 19 15:15:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weston Andros Adamson X-Patchwork-Id: 4202851 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01AE7BEEAB for ; Mon, 19 May 2014 15:15:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03D95202A1 for ; Mon, 19 May 2014 15:15:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 134AB201F5 for ; Mon, 19 May 2014 15:15:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbaESPP2 (ORCPT ); Mon, 19 May 2014 11:15:28 -0400 Received: from mail-ig0-f171.google.com ([209.85.213.171]:39588 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754441AbaESPP0 (ORCPT ); Mon, 19 May 2014 11:15:26 -0400 Received: by mail-ig0-f171.google.com with SMTP id c1so3602589igq.10 for ; Mon, 19 May 2014 08:15:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tczlIJCpOT0I6Exy/oEZmSCRmJTgnnmQSp/9v+9pQGA=; b=U0PLJPpPFqUPu62KzxjCSvLwxeGQK8kgAP8uHSpC5W0Oy5tR7fb3pSL6UXkMl1mnRo TS6lR8ub3WFo4OyMTxcuykRLaOTzaML1h5P9kvXkqbn9PmOBkoxYomHQ4U7Rt8OFgLD7 W9/2oH6kACnWdeuSnV6L3Bm9wRXqLQK++PLeYL540iYi4qZot0kFUw7LaKj8eJfmJX1S 5dWXdaU58BzPhnsMLiFiFjSZsH9w/oJfO7KQQOQKAJPF0D8hLa57HYNKWpTYK0ws6fon 5Wn/lDYcbMeUvXlYuupdU3giBhqSIJlMSlUlNrJCHqTFw6l5x6Qrdlax6GbGeFcvEhyD +YHA== X-Gm-Message-State: ALoCoQn+YM9id2fZCJeU89l7ErinhG3pb1YpEKhFmNb3vpsZlQklWZ+AbA59VtvySxRGlVyvzloF X-Received: by 10.50.152.38 with SMTP id uv6mr7826573igb.34.1400512526070; Mon, 19 May 2014 08:15:26 -0700 (PDT) Received: from gavrio-wifi.robotsandstuff.fake (c-98-209-19-144.hsd1.mi.comcast.net. [98.209.19.144]) by mx.google.com with ESMTPSA id d6sm14213191igr.12.2014.05.19.08.15.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 08:15:25 -0700 (PDT) From: Weston Andros Adamson To: trond.myklebust@primarydata.com Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH 7/8] nfs: clean up function decls in nfs_page.h Date: Mon, 19 May 2014 11:15:07 -0400 Message-Id: <1400512508-7530-8-git-send-email-dros@primarydata.com> X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) In-Reply-To: <1400512508-7530-1-git-send-email-dros@primarydata.com> References: <1400512508-7530-1-git-send-email-dros@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP For consistency, remove argument names in function declarations Signed-off-by: Weston Andros Adamson --- include/linux/nfs_page.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index 4b48548..09ffb6a 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h @@ -95,32 +95,32 @@ struct nfs_pageio_descriptor { #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) -extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx, - struct page *page, - struct nfs_page *last, - unsigned int offset, - unsigned int count); +extern struct nfs_page *nfs_create_request(struct nfs_open_context *, + struct page *, + struct nfs_page *, + unsigned int, + unsigned int); extern void nfs_release_request(struct nfs_page *); -extern void nfs_pageio_init(struct nfs_pageio_descriptor *desc, - struct inode *inode, - const struct nfs_pageio_ops *pg_ops, - const struct nfs_pgio_completion_ops *compl_ops, - const struct nfs_rw_ops *rw_ops, - size_t bsize, - int how); +extern void nfs_pageio_init(struct nfs_pageio_descriptor *, + struct inode *, + const struct nfs_pageio_ops *, + const struct nfs_pgio_completion_ops *, + const struct nfs_rw_ops *, + size_t, + int); extern int nfs_pageio_add_request(struct nfs_pageio_descriptor *, struct nfs_page *); extern int nfs_pageio_resend(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); -extern void nfs_pageio_complete(struct nfs_pageio_descriptor *desc); +extern void nfs_pageio_complete(struct nfs_pageio_descriptor *); extern void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *, pgoff_t); -extern size_t nfs_generic_pg_test(struct nfs_pageio_descriptor *desc, - struct nfs_page *prev, - struct nfs_page *req); +extern size_t nfs_generic_pg_test(struct nfs_pageio_descriptor *, + struct nfs_page *, + struct nfs_page *); extern int nfs_wait_on_request(struct nfs_page *); -extern void nfs_unlock_request(struct nfs_page *req); +extern void nfs_unlock_request(struct nfs_page *); extern void nfs_unlock_and_release_request(struct nfs_page *); extern void nfs_page_group_lock(struct nfs_page *); extern void nfs_page_group_unlock(struct nfs_page *);