xref: /linux-6.15/fs/cachefiles/interface.c (revision fe2140e2)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* FS-Cache interface to CacheFiles
3  *
4  * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved.
5  * Written by David Howells ([email protected])
6  */
7 
8 #include <linux/slab.h>
9 #include <linux/mount.h>
10 #include <linux/xattr.h>
11 #include <linux/file.h>
12 #include <linux/falloc.h>
13 #include <trace/events/fscache.h>
14 #include "internal.h"
15 
16 const struct fscache_cache_ops cachefiles_cache_ops = {
17 	.name			= "cachefiles",
18 	.acquire_volume		= cachefiles_acquire_volume,
19 	.free_volume		= cachefiles_free_volume,
20 };
21