drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / fs / 9p / cache.h
blobee1b6b06a2fddd0a0cb3bf77ec792769628fe065
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * V9FS cache definitions.
5 * Copyright (C) 2009 by Abhishek Kulkarni <adkulkar@umail.iu.edu>
6 */
8 #ifndef _9P_CACHE_H
9 #define _9P_CACHE_H
11 #ifdef CONFIG_9P_FSCACHE
12 #include <linux/fscache.h>
14 extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
15 const char *dev_name);
17 extern void v9fs_cache_inode_get_cookie(struct inode *inode);
19 #else /* CONFIG_9P_FSCACHE */
21 static inline void v9fs_cache_inode_get_cookie(struct inode *inode)
25 #endif /* CONFIG_9P_FSCACHE */
26 #endif /* _9P_CACHE_H */