From patchwork Thu Jan 22 23:35:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5689501 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 032EE9F358 for ; Thu, 22 Jan 2015 23:37:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3641020272 for ; Thu, 22 Jan 2015 23:37:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4F6ED2026F for ; Thu, 22 Jan 2015 23:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754359AbbAVXhQ (ORCPT ); Thu, 22 Jan 2015 18:37:16 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:48512 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754290AbbAVXhQ (ORCPT ); Thu, 22 Jan 2015 18:37:16 -0500 Received: by mail-pd0-f169.google.com with SMTP id g10so1983360pdj.0 for ; Thu, 22 Jan 2015 15:37:15 -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=HedHDK10BwXW+KhrvVhRmjR5T6x7sXzVrOzlv7mf9bYkP997n1XS6I7TKZ0IsTM+c2 LVYR3pCGgfjaMRaPVLwvvG7t8HqQc3WZC7Aq88lnJb4qOozYn5ctZRmw3+Pv3h0PrJhp UpnDOL7quAR/z6YnNZPUtXo+DktVrpSp9KR4u2h1wOXmL7cnNzciTASrs2hWxc/Ey+F9 9vGfdFm479BnHYKMn2Wasvu9j8AYrZawzcyLPozs2JY3fZmq6OSfoRUyyDp7lOWdV+S6 t4Q0OcLaDRVIrKhNOJpxb9U1Rcrv17l/pa71N7l1Z71cGjRyGqO/Kh9Y1N9WbR1yu5Jn zeyg== X-Gm-Message-State: ALoCoQnFcUMr+liNKt0D0fetThYO2HbQi8y8RK9r8hCAIffCcpYa3jOvdpqyxOvwDy9p7ruHf+4N X-Received: by 10.70.103.141 with SMTP id fw13mr6620967pdb.14.1421969835687; Thu, 22 Jan 2015 15:37:15 -0800 (PST) Received: from localhost.localdomain ([50.242.95.105]) by mx.google.com with ESMTPSA id fu1sm366817pdb.80.2015.01.22.15.37.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 15:37:15 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing list Subject: [PATCH v5 19/51] nfs/flexclient: export pnfs_layoutcommit_inode Date: Thu, 22 Jan 2015 15:35:51 -0800 Message-Id: <1421969783-92997-20-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1421969783-92997-1-git-send-email-loghyr@primarydata.com> References: <1421969783-92997-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) {