Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp612016rdb; Tue, 31 Oct 2023 18:01:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0no1+0t/4gq5eFD6Obdal6quYyyh+UE90l3LA5NVxqcuiO+S4pWeqtBOtYirL53Qi6naz X-Received: by 2002:a05:6870:be8b:b0:1ef:ac8e:2833 with SMTP id nx11-20020a056870be8b00b001efac8e2833mr14402623oab.42.1698800470363; Tue, 31 Oct 2023 18:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698800470; cv=none; d=google.com; s=arc-20160816; b=aXIT17Z3O5v38XjA8rGS5ECYZln71Ghewy7mR/1fIXau54qF+qz8F09w0zAId3Hz8i y+htORXkHyFST1n7rSZG4Fmod0EWWgba9ZTod4oSYX9EL3Tkxmkt70n2VOzp/ScXA5nN nANMuqwJq9PR1OWLjzP7E7LGWCLWo/If5iN3Jtb4LX31y2g1JkE4Amiw70wlKT7c0F96 4Hi6E5DtcJOAbnhcCrE+iZzB8YA1x6KC4yK8TkNSXeyZ6U68TLLwZY5NEodHtDcYPscG n88d/kHbSEQQ3YBGKz78z0Z1DxaJ6I54SbC+tewhki/VH9Pi1gVvX0WATCTblgxHr0gE PvZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=F+8Z8VOsneUl4jIvXbfhZSjbowBbSCHftNbYyjK0TKI=; fh=oGCWKUgN5rqvEqhxhGaFnCKhx0upqxg87fHnuYmJPFg=; b=UwxfdgCkyrljPb/7a/jVdPFbvlkOXvh1GIl6NuEOjZoITPgdic61lz3tGG2tvVB6Jf evWKhF3wp1ZAOd2qOjPQpnamMWncv/RPJaRkPXtGmnYcZCwZPvKhFjqv1XFo41S64mmc zI5uB1BhpYvExg51ZkUJg5nsRyjY1ApBhhG/o4x31m8szr5rcFNx0vfZ6OZd48VgpJTx d2+8gydLUUFi1sF6liyZ2YQg4GHmIbJmB1xbS8cbLV/Nc+VkGmTBo4elqCB/H9R7pCb5 /KBxcpSVl3yt6Y9woYbSBwYB7jIQa+BwkWLELWI8o6qGr/zqOPilRQPR7nh58m0K27uJ ta7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=XBquXQ+D; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id v202-20020a6361d3000000b005b9600b9f4asi1900974pgb.228.2023.10.31.18.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 18:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=XBquXQ+D; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E8E8C80BB21B; Tue, 31 Oct 2023 18:01:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347108AbjKABBF (ORCPT + 99 others); Tue, 31 Oct 2023 21:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345029AbjKABBE (ORCPT ); Tue, 31 Oct 2023 21:01:04 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5262FEA for ; Tue, 31 Oct 2023 18:00:59 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 022BA1F460; Wed, 1 Nov 2023 01:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1698800458; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=F+8Z8VOsneUl4jIvXbfhZSjbowBbSCHftNbYyjK0TKI=; b=XBquXQ+D1faEMOCNMgW2IWX2IW7E2WaIwGnQBHEEh1Lj3dj+LDuGgN5Y1ivwYOAmoEzbBP 9euXiL0DBSdcqRkYLhPb2/csk3Ow/vkg0+VHf5KWJWtWzcIJXVAb8QuserOyws8IlMJEre zIhKLz0LNHBgOnA6WIOv7swFbRtTTGw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1698800458; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=F+8Z8VOsneUl4jIvXbfhZSjbowBbSCHftNbYyjK0TKI=; b=8ePUee8SYe6XTKhtMmkUcxuTaJG72G7hV7Ce2uwcLsqPWSW6dkJqWTIPIrTjXGJFVqEhMX BX1EaYQs9zX8twDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EF47B138EF; Wed, 1 Nov 2023 01:00:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YNZPKUejQWXlOgAAMHmgww (envelope-from ); Wed, 01 Nov 2023 01:00:55 +0000 From: NeilBrown To: Chuck Lever , Jeff Layton Cc: linux-nfs@vger.kernel.org, Olga Kornievskaia , Dai Ngo , Tom Talpey Subject: [PATCH 0/6 v2] support admin-revocation of v4 state Date: Wed, 1 Nov 2023 11:57:07 +1100 Message-ID: <20231101010049.27315-1-neilb@suse.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 18:01:05 -0700 (PDT) This set fixes two issues found by kernel test robot 1/ nfsd4_revoke_states() needs to be defined when not CONFIG_NFSD_V4 2/ nfs40_last_revoke is larger than a mechine word in 32 bit configs, so needs protection - use nn->client_lock which is already taken when nfs40_last_revoke is accessed. NeilBrown