From patchwork Mon Feb 2 22:38:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5764901 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 963EF9F380 for ; Mon, 2 Feb 2015 22:40:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFACE209EA for ; Mon, 2 Feb 2015 22:40:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84B29209EC for ; Mon, 2 Feb 2015 22:40:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965352AbbBBWkL (ORCPT ); Mon, 2 Feb 2015 17:40:11 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:52281 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965219AbbBBWkK (ORCPT ); Mon, 2 Feb 2015 17:40:10 -0500 Received: by mail-pa0-f41.google.com with SMTP id kq14so87987379pab.0 for ; Mon, 02 Feb 2015 14:40:09 -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=kxrZVWKWU2ZpKEzse3NQfs6xETw8WEz2yr7bgB4RtOym+jVaokxj04+UEuhNHdMrof ftl/oki5WRxYUqasqMJZQm6k7u1UBfAeIGVh/7zGCMtbN5LFIf/YAMCDtsx3oC9JWODO ebDaYYWmjFn1L8zXp8ukXH2wh7rNtnmsORAR/A1F1cWdgj9w7fk7Ud0FSLf8mr0UDXw8 4MPtI/wz7wG5T4xQdfr3ldPAO8ErPxU5WH5jdEN4WnzmjNYMN10JZb5SieA2U6vfpVXX sWWdjCFK64vvWuA7Bjyk7eNsUXjiVOTECHR/hVxxcLxslKh1fskwxggJDXgvWdH0MaqY Vdcw== X-Gm-Message-State: ALoCoQm5FF2NNs+8dMDA4WCsmFWzHweW4fcK1nBLkMUmp1H9gSWeEU93b2FeMI2F0KVhRs44LIpo X-Received: by 10.70.140.78 with SMTP id re14mr33036445pdb.61.1422916809662; Mon, 02 Feb 2015 14:40:09 -0800 (PST) Received: from localhost.localdomain ([50.242.95.105]) by mx.google.com with ESMTPSA id bx13sm94656pdb.19.2015.02.02.14.40.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 14:40:09 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing list Subject: [PATCH v6 19/53] nfs/flexclient: export pnfs_layoutcommit_inode Date: Mon, 2 Feb 2015 14:38:33 -0800 Message-Id: <1422916747-86649-20-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1422916747-86649-1-git-send-email-loghyr@primarydata.com> References: <1422916747-86649-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) {