Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5200840pxb; Mon, 15 Feb 2021 12:23:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDnRwNHCcs/thNeU92rx7vwkc7nx2FBNCAGoydeAxz36iyZQ7Fiw4bZTIEEn0GPzL64V1J X-Received: by 2002:a17:906:d1d0:: with SMTP id bs16mr17854707ejb.468.1613420613065; Mon, 15 Feb 2021 12:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613420613; cv=none; d=google.com; s=arc-20160816; b=p/h0NAhaHvotA6nL6NTchSQZmRB4R0NiyuUk3gSeq44nQz6VDPXX0bGlt8hSZ+JgB/ ALy3+DQJtWZosfkM2ccMJtcdNAdiebUpTlhXAhlMl+HTnc5sPDTgkgQ4nYGVDebuVrC6 OY8523wVUHRIPg74QVqAERdlq+dEf7p4o9hATyWkh28KjH7nr6PBrJJGWWds4dFFKPps ZRvQ0Y8//g2M4rYW4eHRpssGqdPJco3EtkcVRWnsEZlocZEE96otncnNywcupSf4YwRf zKCiQkg3W+bnC1weztp0l3lP+YS7TQI+/8zVWp6LKyBHa80mcgwS0YSJPhq4NAq89ATN 6cTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=+//eqeYnV+BYPGZTR06GW1sy7gZd1IShTiYlW6ZsgTo=; b=QJEXHlbz9MiAMx7nM9qxLM+TEy8fbmVG1Gwq2oYp209ERkQgteCPKjJCHS7gup1FW4 5Wvll5eRJIQkmtrofycUEvTKtLWLDs0hpKSfU1f1F0e/ChwdxCQ9J59VNB/+MArZ4mJu 8rgN6J+6WTxlRmIcRIu4wzszSkhYEL47QeQQLqbc7G/Y9e8I/5mOd8AKCytRPeS+6WDR sxgRXSn4yD5IyOOFhdZI0C7hR5HzLQHDTeoA8fJ+Yy7LT/VTwvvrQHYwmXfRUViBWyGS 7l6Cknz9dBjLzrHX+bQolHcQbshELr/fj7VFVnOtfUrh50g3nxmmToXEzb3u7s7Wq+V+ Cm5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=RsEoH0Ol; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr13si13326579ejb.269.2021.02.15.12.23.03; Mon, 15 Feb 2021 12:23:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=RsEoH0Ol; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbhBOUSK (ORCPT + 99 others); Mon, 15 Feb 2021 15:18:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbhBOUSK (ORCPT ); Mon, 15 Feb 2021 15:18:10 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8F0FC061574 for ; Mon, 15 Feb 2021 12:17:29 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 58A69410D; Mon, 15 Feb 2021 15:17:28 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 58A69410D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1613420248; bh=+//eqeYnV+BYPGZTR06GW1sy7gZd1IShTiYlW6ZsgTo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RsEoH0OlTN+aNR2BYaVDmNiOmLHx9bNNvsnCa8MuUkT0JWNlRaDBqvkxSgkXlBXcg Bkn4fV+CuekubpZEbTDqmpq3W8OeVj/YY+kiMWUFvvpr38C3W3BMAAyyD3MI+8H917 KoA9ljlAeHhYG3Diuai2J3sP1yV9Epx7icJ8UlNg= Date: Mon, 15 Feb 2021 15:17:28 -0500 From: Bruce Fields To: Jeff Layton Cc: "open list:NFS, SUNRPC, AND..." Subject: Re: pynfs breakage Message-ID: <20210215201728.GC30742@fieldses.org> References: <804830ba7fdd91cbf9348050b07f9922801d20f0.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <804830ba7fdd91cbf9348050b07f9922801d20f0.camel@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Feb 15, 2021 at 03:15:08PM -0500, Jeff Layton wrote: > Hi Bruce! > > The latest HEAD in pynfs doesn't run for me: > > $ ./nfs4.1/testserver.py --help > Traceback (most recent call last): > File "/home/jlayton/git/pynfs/nfs4.1/./testserver.py", line 38, in > import server41tests.environment as environment > File "/home/jlayton/git/pynfs/nfs4.1/server41tests/environment.py", line 593 > def write_file(sess, file, data, offset=0 stateid=stateid4(0, b''), > ^ > SyntaxError: invalid syntax > > If I revert this commit, then it works: Yeah, sorry about that, I pushed out quickly thinking I'd tested it, but in fact it has a bunch of mistakes. Fixing.... --b. > > commit 49ae5ba83dd98936b3f5c24431a166866b70f34a (HEAD -> master, origin/master, origin/HEAD) > Author: J. Bruce Fields > Date: Thu Feb 11 16:22:58 2021 -0500 > > nfs41: read_file and write_file helpers > > A couple simple helpers copied from 4.0. > > Signed-off-by: J. Bruce Fields > > > Cheers, > -- > Jeff Layton