]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfs: use credential guards in nfs_idmap_get_key()
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 11:27:00 +0000 (12:27 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Nov 2025 11:36:45 +0000 (12:36 +0100)
commitf41799b2e1697779748bb0a15d4aafffe9d2f8dd
treef4c7dc771f59509be8196822c06476dc06a78038
parentbff3c841f7bde5604b26e8ea755728b8e329c6d5
nfs: use credential guards in nfs_idmap_get_key()

Use credential guards for scoped credential override with automatic
restoration on scope exit.

Link: https://patch.msgid.link/20251103-work-creds-guards-simple-v1-12-a3e156839e7f@kernel.org
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/nfs/nfs4idmap.c