]> git.ipfire.org Git - thirdparty/linux.git/commit
backing-file: use credential guards for writes
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 11:26:52 +0000 (12:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Nov 2025 11:36:35 +0000 (12:36 +0100)
commitf119feaa06586aed78b98b13ac9bcfac942c583e
tree85dcd1e5c0c00193545a7da35b23469bc9e620ba
parent4f0a4825786a114898b6f10a1ffe95ac0402e57e
backing-file: use credential guards for writes

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

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