linux/fs/fscache
Baokun Li a6fce9b4fe netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
[ Upstream commit 85b08b31a2 ]

Export fscache_put_volume() and add fscache_try_get_volume()
helper function to allow cachefiles to get/put fscache_volume
via linux/fscache-cache.h.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Link: https://lore.kernel.org/r/20240628062930.2467993-2-libaokun@huaweicloud.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 522018a0de ("cachefiles: fix slab-use-after-free in fscache_withdraw_volume()")
Stable-dep-of: 5d8f805789 ("cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()")
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-25 09:49:20 +02:00
..
cache.c netfs, fscache: Prevent Oops in fscache_put_cache() 2024-01-31 16:17:04 -08:00
cookie.c fscache: Fix oops due to race with cookie_lru and use_cookie 2022-12-07 11:49:18 -08:00
internal.h netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume() 2024-07-25 09:49:20 +02:00
io.c use less confusing names for iov_iter direction initializers 2023-02-09 11:28:04 +01:00
Kconfig fscache: remove FSCACHE_OLD_API Kconfig option 2022-04-08 23:54:37 +01:00
main.c fscache: Implement cookie-level access helpers 2022-01-07 09:22:19 +00:00
Makefile fscache: Provide a means to begin an operation 2022-01-07 09:22:19 +00:00
proc.c fscache: Implement cookie registration 2022-01-07 09:22:19 +00:00
stats.c fscache, cachefiles: Display stat of culling events 2022-01-07 13:43:18 +00:00
volume.c netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume() 2024-07-25 09:49:20 +02:00