From patchwork Wed Jan 7 00:28:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5578181 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 2F71E9F1C5 for ; Wed, 7 Jan 2015 00:29:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A7E920251 for ; Wed, 7 Jan 2015 00:29:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8601E201EF for ; Wed, 7 Jan 2015 00:29:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584AbbAGA3e (ORCPT ); Tue, 6 Jan 2015 19:29:34 -0500 Received: from mail-pd0-f171.google.com ([209.85.192.171]:56655 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754624AbbAGA3b (ORCPT ); Tue, 6 Jan 2015 19:29:31 -0500 Received: by mail-pd0-f171.google.com with SMTP id y13so1067436pdi.2 for ; Tue, 06 Jan 2015 16:29:31 -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=ROhQCgqx8eePX/nhjntscnnkoaJT9N4T/wQTtyXPN+5Evi4PnLurR4Sa7hsrGZvHbq KpZvHq3IN6T9sRv3J2jKqbwVv0PdK7UusKwSOClRCXtCMAHjmOaNO8l1orvPQ+H3eGGU cWfr2yxaeL1F95jXsG8uICt/1nF4521zRgv4uQuj06oFPb3oy7QONfB7HqVkZrZ7Yxlg +e/FuLlL32CzSsDm7W4J16fNf2PIbjBTsYicFAPq9mn5JTSfqGyd4IHon74ILPsahiML 13Y/KDTMFGch+lT3ikXl9h4URDADLfBosUeqmIHWeFfBxglTwWiTTXm2Y7HqTRQNAusW PCcA== X-Gm-Message-State: ALoCoQmxjpGwI1mH2TzFIIzCvS5CEmq8stx6N3Xp2wdNsHDKdGt2KzerpzKUy9YduHoQ3/k1+ELg X-Received: by 10.66.184.48 with SMTP id er16mr113805pac.61.1420590570960; Tue, 06 Jan 2015 16:29:30 -0800 (PST) Received: from localhost.localdomain ([50.242.95.105]) by mx.google.com with ESMTPSA id wi15sm53763pac.21.2015.01.06.16.29.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jan 2015 16:29:30 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing list Subject: [PATCH v3 19/49] nfs/flexclient: export pnfs_layoutcommit_inode Date: Tue, 6 Jan 2015 16:28:24 -0800 Message-Id: <1420590534-84063-20-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1420590534-84063-1-git-send-email-loghyr@primarydata.com> References: <1420590534-84063-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) {