Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B57E11A6807 for ; Sat, 28 Mar 2026 05:43:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774676628; cv=none; b=hpcvhWjNV0MjQMP0P7tjwgjY6oqVotn0YJDuXHhRkmNcs/5PmHGs2X4YBKolg377YMBTCYhDcFF5k3QEtLheHUYAWpRwqD2qZi8hlNY9ippT+U+cMIMyi8XfV4rBu4kvWQ/4Cm+hqJoE4z2XU/p3IO5BrKcB0fDRTMR/YnXaxPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774676628; c=relaxed/simple; bh=+OAsvMc1WoQj9P3eOj+/rGpi0dRXJ2IdEqixE8o2Hwg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s1us5XgUK/MEvEXdFQBQgtujoMJtzf3hVe8mFZSDe3+6IRxSJBMoGahasyucPEqEUxYfka6MZVCtKN6VdV/hLCzoeSR8+rYyq935TSoM8V5BOLlNPBot2GW4naGzKds1yOfVKr6rwuWY7AIY1K8tNufecKPZITl3EWUE94llcAw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=KMNGTVRl; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="KMNGTVRl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1774676626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dIMkP/f5LcHGS7CQzHbQpLJOnuWz2n7FoMMhO59VKSs=; b=KMNGTVRl8CzcnkI9w9STs6kJLCqqsDsQQg5IFnLBt7nWzysQGZyaAiDs2L0zq4WYruiBpF GhmZ4GrfUBr5IwfPZYxuZiDOaq9hVwzc8cF2BXzOo/7+5oTMKb01/AKFYfSX0B7p0cPqO8 j/eLOK32VnUUWuBhExH6xI7etQv/EGQ= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626-xJb9sweXM3e_5klrBEH-lA-1; Sat, 28 Mar 2026 01:43:43 -0400 X-MC-Unique: xJb9sweXM3e_5klrBEH-lA-1 X-Mimecast-MFC-AGG-ID: xJb9sweXM3e_5klrBEH-lA_1774676622 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6E31919560A2; Sat, 28 Mar 2026 05:43:42 +0000 (UTC) Received: from localhost (dell-per660-10.rhts.eng.pek2.redhat.com [10.73.4.30]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 494971800761; Sat, 28 Mar 2026 05:43:40 +0000 (UTC) From: Jianhong Yin To: linux-nfs@vger.kernel.org Cc: calum.mackay@oracle.com, jlayton@kernel.org, bcodding@redhat.com, smayhew@redhat.com, jiyin@redhat.com Subject: [PATCH v3 3/4] pynfs: nfs4.1/nfs4server.py allow v4.2 mount Date: Sat, 28 Mar 2026 13:42:45 +0800 Message-ID: <20260328054243.3072769-6-jiyin@redhat.com> In-Reply-To: <20260328054243.3072769-2-jiyin@redhat.com> References: <20260328054243.3072769-2-jiyin@redhat.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Signed-off-by: Jianhong Yin --- nfs4.1/nfs4server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py index 16ef113..6422008 100755 --- a/nfs4.1/nfs4server.py +++ b/nfs4.1/nfs4server.py @@ -578,7 +578,7 @@ class NFS4Server(rpc.Server): self._fsids = {self.root.fs.fsid: self.root.fs} # {fsid: fs} self.clients = ClientList() # List of attached clients self.sessions = {} # List of attached sessions - self.minor_versions = [1] + self.minor_versions = [1, 2] self.config = ServerConfig() self.opsconfig = OpsConfigServer() self.actions = Actions() -- 2.53.0