From patchwork Tue Mar 27 17:27:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jianhong.Yin" X-Patchwork-Id: 10311241 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9FF4C60212 for ; Tue, 27 Mar 2018 17:27:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 929F927FB1 for ; Tue, 27 Mar 2018 17:27:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8748E2911F; Tue, 27 Mar 2018 17:27:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 604EC27FB1 for ; Tue, 27 Mar 2018 17:27:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719AbeC0R1f (ORCPT ); Tue, 27 Mar 2018 13:27:35 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60172 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754215AbeC0R1Y (ORCPT ); Tue, 27 Mar 2018 13:27:24 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 54E14401DECB; Tue, 27 Mar 2018 17:27:24 +0000 (UTC) Received: from dhcp-12-154.nay.redhat.com (dhcp-12-154.nay.redhat.com [10.66.12.154]) by smtp.corp.redhat.com (Postfix) with ESMTP id F135B8445A; Tue, 27 Mar 2018 17:27:22 +0000 (UTC) From: "Jianhong.Yin" To: bfields@redhat.com Cc: linux-nfs@vger.kernel.org, "Jianhong.Yin" Subject: [PATCH 2/2] [pynfs] fix nfs4.1/use_local.py && add symlink nfs4.0/use_local.py Date: Wed, 28 Mar 2018 01:27:09 +0800 Message-Id: <20180327172709.13071-2-yin-jianhong@163.com> In-Reply-To: <20180327172709.13071-1-yin-jianhong@163.com> References: <20180327172709.13071-1-yin-jianhong@163.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 27 Mar 2018 17:27:24 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 27 Mar 2018 17:27:24 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'yin-jianhong@163.com' RCPT:'' Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- nfs4.0/use_local.py | 1 + nfs4.1/use_local.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 120000 nfs4.0/use_local.py diff --git a/nfs4.0/use_local.py b/nfs4.0/use_local.py new file mode 120000 index 0000000..3c3ddc2 --- /dev/null +++ b/nfs4.0/use_local.py @@ -0,0 +1 @@ +../nfs4.1/use_local.py \ No newline at end of file diff --git a/nfs4.1/use_local.py b/nfs4.1/use_local.py index 3dbb0b2..9a1dcaa 100644 --- a/nfs4.1/use_local.py +++ b/nfs4.1/use_local.py @@ -4,9 +4,7 @@ from os.path import join, split cwd = os.getcwd() if True or cwd not in sys.path: head, tail = split(cwd) - dirs = [ join(head, "gssapi"), - join(head, "xdr"), - join(head, "ply"), + dirs = [ join(head, "xdr"), join(head), # rpc cwd, ]