]> git.hungrycats.org Git - linux/commit
netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
authorBaokun Li <libaokun1@huawei.com>
Fri, 28 Jun 2024 06:29:22 +0000 (14:29 +0800)
committerChristian Brauner <brauner@kernel.org>
Wed, 3 Jul 2024 08:36:14 +0000 (10:36 +0200)
commit85b08b31a22b481ec6528130daf94eee4452e23f
treef914c86f3a4048a8a323c499e895a1906c640ef0
parent163eae0fb0d4c610c59a8de38040f8e12f89fd43
netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()

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>
fs/netfs/fscache_volume.c
fs/netfs/internal.h
include/linux/fscache-cache.h