1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * V9FS cache definitions.
5 * Copyright (C) 2009 by Abhishek Kulkarni <adkulkar@umail.iu.edu>
11 #include <linux/fscache.h>
13 #ifdef CONFIG_9P_FSCACHE
15 extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
16 const char *dev_name);
18 extern void v9fs_cache_inode_get_cookie(struct inode *inode);
20 #else /* CONFIG_9P_FSCACHE */
22 static inline void v9fs_cache_inode_get_cookie(struct inode *inode)
26 #endif /* CONFIG_9P_FSCACHE */
27 #endif /* _9P_CACHE_H */