From patchwork Wed Dec 24 07:12:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5536921 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 1664FBEEA8 for ; Wed, 24 Dec 2014 07:13:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3EA49200B4 for ; Wed, 24 Dec 2014 07:13:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 603E3201C0 for ; Wed, 24 Dec 2014 07:13:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751840AbaLXHNw (ORCPT ); Wed, 24 Dec 2014 02:13:52 -0500 Received: from mail-ig0-f172.google.com ([209.85.213.172]:62702 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821AbaLXHNv (ORCPT ); Wed, 24 Dec 2014 02:13:51 -0500 Received: by mail-ig0-f172.google.com with SMTP id hl2so6569153igb.11 for ; Tue, 23 Dec 2014 23:13:50 -0800 (PST) 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=JENj+o+cuHZ4bucfbwMiiHjuj1TiCu3NYQdlpWJNMlk=; b=STIqBCxcFGvBE+JE8uhszvO2aTegsobNM7PZ0Dq9UA/sy5kWMlDp83wUDWW2cEPRX0 L5/2lmIKfEyibKvG0mgObUgChoL5EZRG89M4mURoOxWYvdo1cZvcs8jnJoDZIRo7otf1 gMD8bN4X8maexMo1q0h7pskkgDNuU1WpoW87XQE/Per2yI9r6PTOeOzJNJB8MMTsRFXy 6iy6eMNDAtbDMXfZr2b9rq4DBmqV9pz2fg8cXL851J1lHjUyyFjc2WPfmjijn7QmA5Sd JI4E9PzYI37xaO47s6VoxwfnWbMrLJSB7LZq0mPTULoY1Lr3OQpdEEmRtYjeGhkyJ5/D Yu9Q== X-Gm-Message-State: ALoCoQnYPhVHm2SEFMZPROuYW5SWWLbTpMR6Ilmc4kfw7GRLyYGbccfS/su3PBviaZWEKIP8h0cx X-Received: by 10.107.136.146 with SMTP id s18mr28939190ioi.36.1419405230695; Tue, 23 Dec 2014 23:13:50 -0800 (PST) Received: from localhost.localdomain (c-68-40-185-14.hsd1.mi.comcast.net. [68.40.185.14]) by mx.google.com with ESMTPSA id 37sm8821410iog.39.2014.12.23.23.13.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 23:13:50 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing List Subject: [PATCH v2 14/49] nfs4: export nfs4_sequence_done Date: Tue, 23 Dec 2014 23:12:53 -0800 Message-Id: <1419405208-25975-15-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1419405208-25975-1-git-send-email-loghyr@primarydata.com> References: <1419405208-25975-1-git-send-email-loghyr@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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 From: Peng Tao Signed-off-by: Peng Tao Signed-off-by: Tom Haynes --- fs/nfs/nfs4_fs.h | 2 ++ fs/nfs/nfs4proc.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 90c4ffe..b3c771e 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -447,6 +447,8 @@ extern int nfs40_setup_sequence(struct nfs4_slot_table *tbl, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, struct rpc_task *task); +extern int nfs4_sequence_done(struct rpc_task *task, + struct nfs4_sequence_res *res); extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp); diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 9b1a481..4883a42 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -694,8 +694,7 @@ out_retry: } EXPORT_SYMBOL_GPL(nfs41_sequence_done); -static int nfs4_sequence_done(struct rpc_task *task, - struct nfs4_sequence_res *res) +int nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) { if (res->sr_slot == NULL) return 1; @@ -703,6 +702,7 @@ static int nfs4_sequence_done(struct rpc_task *task, return nfs40_sequence_done(task, res); return nfs41_sequence_done(task, res); } +EXPORT_SYMBOL_GPL(nfs4_sequence_done); int nfs41_setup_sequence(struct nfs4_session *session, struct nfs4_sequence_args *args,