]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cachefiles: avoid pointless cred reference count bump
authorChristian Brauner <brauner@kernel.org>
Mon, 25 Nov 2024 14:10:23 +0000 (15:10 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 2 Dec 2024 10:25:14 +0000 (11:25 +0100)
commit76a40086683933431660b348dbfefa80b9eaaa03
tree01b758bb960254a9843048d4fd7c22e555c5d42c
parent9e8534f5ae4f506b6fbda62add578d629c657816
cachefiles: avoid pointless cred reference count bump

The cache holds a long-term reference to the credentials that's taken
when the cache is created and put when the cache becomes unused.

Link: https://lore.kernel.org/r/20241125-work-cred-v2-27-68b9d38bb5b2@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/cachefiles/internal.h