From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EBC7429E117 for ; Mon, 17 Nov 2025 16:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763395254; cv=none; b=JP6cEbHH9WWYW7VB1Ne9GWoT6qyKPYCzeaRX/6wEG5k6ZzRqmKJoIH3j31ddLn81LO2+pg7jocL+ej/EmhHP+ITwAP05iF9Mxcff4PAZxzE9YN2+ykhbwU6urqIU0ahY7NoCtDLxPNXhNdjgkawyS7n6OWoc5Xd7jOwpj9sWJWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763395254; c=relaxed/simple; bh=I8irii8FeyT6sKZmRm9SKBRyqUv98lBdfJwqxQCWLQI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mL1/GjTztzBJTJJJ1NThAWY80F5y80x5a0QNsh3Vocl3xGa32k2eju97/Ryrd+i9V20AbfFWrqYwoynn/UKnQ4cAFaK0SierMCNJU74MQVsBiD+z2s7ra8fBMsqRGbtmVU5eZB6O/NvCxLQ/sebUAXskiMiQ4jovE5du+Q6VQYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LM9MnApg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LM9MnApg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EDC6C19425; Mon, 17 Nov 2025 16:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763395253; bh=I8irii8FeyT6sKZmRm9SKBRyqUv98lBdfJwqxQCWLQI=; h=From:To:Cc:Subject:Date:From; b=LM9MnApgHGaPKxXr1QAAvwLWz2W8s2dp1c/lSImKMcYi+L0t5Wqa9eDimBm1L8+D1 uYxrZUfTu9lo7mrBFVsNA37vSvvTCSD9n6rHhOxfmhlrobWcYiueUDmj5U7Bj+yjgN 29LGy1+5FgJnV7D8QDaDNpiGiQVW97Ta1R0Pas6dG2dMu3t7mZlwhz08lEPatnxYev VWmlLYdKp2piA7ilFtE4xfQnYzvEtiP+EegNmOd2sqVvB1uL5tD8urD3pNHu2XmyF+ dTvq15Uom4jLr3S48wQhhO0OL0fSznY9Qu3ztgyfCcfiwOaVbiZ9hJBDlvUplIhnjW WNDXUYuX5BusA== From: Chuck Lever To: NeilBrown , Jeff Layton , Olga Kornievskaia , Dai Ngo , Tom Talpey Cc: , Chuck Lever Subject: [PATCH v2 0/3] Update suppattr_exclcreat bitmask Date: Mon, 17 Nov 2025 11:00:48 -0500 Message-ID: <20251117160051.10213-1-cel@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chuck Lever While working on some new pynfs tests to verify the behavior of OPEN(create), I found a couple of bugs in NFSD's suppattr_exclcreat bitmask. I've split this into two "fix" patches, because the fixes have different LTS blast radii. The third patch is a clean-up that should not be backported. The new pynfs tests were posted under separate cover. Changes since v1: * Address Jeff's review comment Chuck Lever (3): NFSD: Clear SECLABEL in the suppattr_exclcreat bitmap NFSD: Clear TIME_DELEG in the suppattr_exclcreat bitmap NFSD: Clean up nfsd4_check_open_attributes() fs/nfsd/nfs4proc.c | 40 +++++++++++++++++++++------------------- fs/nfsd/nfs4xdr.c | 5 +++++ fs/nfsd/nfsd.h | 8 +++++++- 3 files changed, 33 insertions(+), 20 deletions(-) -- 2.51.0