// SPDX-License-Identifier: GPL-2.0-or-later /* Volume handling. * * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected]) */ #include <linux/fs.h> #include <linux/slab.h> #include "internal.h" #include <trace/events/fscache.h> /* * Allocate and set up a volume representation. We make sure all the fanout * directories are created and pinned. */ void cachefiles_acquire_volume(struct fscache_volume *vcookie) { … } /* * Release a volume representation. */ static void __cachefiles_free_volume(struct cachefiles_volume *volume) { … } void cachefiles_free_volume(struct fscache_volume *vcookie) { … } void cachefiles_withdraw_volume(struct cachefiles_volume *volume) { … }