From patchwork Wed Jan 14 16:44:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5633351 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38D819F8A6 for ; Wed, 14 Jan 2015 16:46:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 698A820138 for ; Wed, 14 Jan 2015 16:46:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F2F820123 for ; Wed, 14 Jan 2015 16:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753576AbbANQpj (ORCPT ); Wed, 14 Jan 2015 11:45:39 -0500 Received: from mail-pd0-f171.google.com ([209.85.192.171]:62455 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753624AbbANQpg (ORCPT ); Wed, 14 Jan 2015 11:45:36 -0500 Received: by mail-pd0-f171.google.com with SMTP id y13so10746167pdi.2 for ; Wed, 14 Jan 2015 08:45:36 -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=mf6JHwQryrpgDlT6F7wduB9BCNnvdi3l8L9EqT8skP+pKifB4txeCO6xnNX2Hk4Vs4 CJtYlTPe2M+WI4Z04nuQDTjrkNduQJY2HYoBQ3og8zzrPlW3nZaJeBr1adcyM2lir1bB +PoCLoOdL4FLYtljfid0VQ8YJwOXKnRes22XSy6JvNcs0iIb6e8rtxwX3JD1onpTsdJ5 vf/zJOFGZjyMXQ4ofH1SECvcT9ImCk+7VUT6+RQrAmDkudfkE0cvZIA63t4duPHEqxj/ JzBWSQa/grcBctEMOz2VXVzKqrbKRmkOrkRt/cKCfc7LPLcvt/T+9VctI/qr8HrWu2tv J2GA== X-Gm-Message-State: ALoCoQnV4MwzHe5VscknEfrGdzzdCvORyHaWiEAs85/X96MTUAUt8jpruk4qGEPjqTrAZ0mHFny9 X-Received: by 10.68.65.108 with SMTP id w12mr7144044pbs.96.1421253936199; Wed, 14 Jan 2015 08:45:36 -0800 (PST) Received: from localhost.localdomain ([50.242.95.105]) by mx.google.com with ESMTPSA id u7sm12239039pdp.45.2015.01.14.08.45.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jan 2015 08:45:35 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing list Subject: [PATCH v4 19/50] nfs/flexclient: export pnfs_layoutcommit_inode Date: Wed, 14 Jan 2015 08:44:25 -0800 Message-Id: <1421253896-73106-20-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1421253896-73106-1-git-send-email-loghyr@primarydata.com> References: <1421253896-73106-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) {