]> Git Repo - linux.git/blob - fs/9p/cache.h
Merge tag 'ata-5.17-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemo...
[linux.git] / fs / 9p / cache.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * V9FS cache definitions.
4  *
5  *  Copyright (C) 2009 by Abhishek Kulkarni <[email protected]>
6  */
7
8 #ifndef _9P_CACHE_H
9 #define _9P_CACHE_H
10
11 #include <linux/fscache.h>
12
13 #ifdef CONFIG_9P_FSCACHE
14
15 extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
16                                           const char *dev_name);
17
18 extern void v9fs_cache_inode_get_cookie(struct inode *inode);
19
20 #else /* CONFIG_9P_FSCACHE */
21
22 static inline void v9fs_cache_inode_get_cookie(struct inode *inode)
23 {
24 }
25
26 #endif /* CONFIG_9P_FSCACHE */
27 #endif /* _9P_CACHE_H */
This page took 0.032489 seconds and 4 git commands to generate.