From patchwork Wed Dec 24 07:12:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5537001 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 B2F6DBEEA8 for ; Wed, 24 Dec 2014 07:14:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB7C1200B4 for ; Wed, 24 Dec 2014 07:14:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 05FB1201C0 for ; Wed, 24 Dec 2014 07:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751837AbaLXHN6 (ORCPT ); Wed, 24 Dec 2014 02:13:58 -0500 Received: from mail-ig0-f179.google.com ([209.85.213.179]:49836 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbaLXHNz (ORCPT ); Wed, 24 Dec 2014 02:13:55 -0500 Received: by mail-ig0-f179.google.com with SMTP id r2so6631817igi.6 for ; Tue, 23 Dec 2014 23:13:55 -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=9IdscPqGMXux4UINz2QutYGy4GXYaF3yt/q+FcZ0GdY=; b=lFSqU5hzl1OcMU0UUzYZC9sw+gj0PJa5Hq0YG/1q9f8wHuGXrE10kyQZb151c73aLy NQmiM0azDlI++ZXnvagHb5ynIkKZFdbORrYnLP4rjO9Th71wlaq7MNurzIjgyUA7GBra CCVWq4JG/NCiY9Ku+OiaR8xF3kXZCWFZyahY0pluSCpixMo+e7T/opBCwmPBY1LdZJiN JQRBBaV0P6ss800Ch2gAlB7c55xKD7XeI/FDO4nLpEnj5ozBgy9QUBEXZlcCrwYUuKj/ rY0R2DGiBMXUCEz1qYKdJVv1tDUkkBnmpFwLcw5QyMuGEZlCEIsnT4zbObiRhxjbbfkM F80g== X-Gm-Message-State: ALoCoQnogL3Eueq8hjzUuyXuxRqJUDyw8/pcv4RIY73eiOlBVbanQTGG4typRukVw8KIMaSUwxdr X-Received: by 10.107.7.94 with SMTP id 91mr28944562ioh.27.1419405235276; Tue, 23 Dec 2014 23:13:55 -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.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 23:13:54 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing List Subject: [PATCH v2 19/49] nfs/flexclient: export pnfs_layoutcommit_inode Date: Tue, 23 Dec 2014 23:12:58 -0800 Message-Id: <1419405208-25975-20-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 flexfiles needs to start layoutcommit when necessary Signed-off-by: Peng Tao --- fs/nfs/pnfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 0a5dda4..2d25670 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1966,6 +1966,7 @@ clear_layoutcommitting: pnfs_clear_layoutcommitting(inode); goto out; } +EXPORT_SYMBOL_GPL(pnfs_layoutcommit_inode); struct nfs4_threshold *pnfs_mdsthreshold_alloc(void) {