OpenCloudOS-Kernel/fs/fscache
Baokun Li 5c5a577a2c netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
[ Upstream commit 85b08b31a22b481ec6528130daf94eee4452e23f ]

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: 522018a0de6b ("cachefiles: fix slab-use-after-free in fscache_withdraw_volume()")
Stable-dep-of: 5d8f80578907 ("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:50:57 +02:00
..
Kconfig fscache: remove FSCACHE_OLD_API Kconfig option 2022-04-08 23:54:37 +01:00
Makefile fscache: Provide a means to begin an operation 2022-01-07 09:22:19 +00:00
cache.c netfs, fscache: Prevent Oops in fscache_put_cache() 2024-01-31 16:19:01 -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:50:57 +02:00
io.c use less confusing names for iov_iter direction initializers 2022-11-25 13:01:55 -05:00
main.c fscache: Implement cookie-level access helpers 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:50:57 +02:00