summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorGuoHan Zhao <zhaoguohan@kylinos.cn>2026-05-10 17:54:37 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2026-06-15 15:06:19 +0300
commitc51248524a0f546b9a9b44710038f5663688ed10 (patch)
treed34c38910ec63a834313ad1ed35bff55a3b7a73f /include/linux/timerqueue.h
parent9107a3d8bbde1b4a38db01422601906f81f04ad5 (diff)
downloadlinux-c51248524a0f546b9a9b44710038f5663688ed10.tar.xz
fuse: use current creds for backing files
FUSE backing files only need a stable snapshot of the current credentials for later backing-file I/O. prepare_creds() allocates a mutable copy and can fail, but this code never modifies or commits the result. Use get_current_cred() instead and store it as a const pointer. This matches the rest of the backing-file helpers and avoids an unnecessary allocation and failure path. Signed-off-by: GuoHan Zhao <zhaoguohan@kylinos.cn> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Acked-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions