]> Git Repo - linux.git/blame - fs/9p/cache.h
ACPI: bus: update acpi_dev_hid_uid_match() to support multiple types
[linux.git] / fs / 9p / cache.h
CommitLineData
1f327613 1/* SPDX-License-Identifier: GPL-2.0-only */
60e78d2c
AK
2/*
3 * V9FS cache definitions.
4 *
5 * Copyright (C) 2009 by Abhishek Kulkarni <[email protected]>
60e78d2c
AK
6 */
7
8#ifndef _9P_CACHE_H
7c7afc44 9#define _9P_CACHE_H
24e42e32 10
eb497943 11#ifdef CONFIG_9P_FSCACHE
4eb31178 12#include <linux/fscache.h>
60e78d2c 13
24e42e32
DH
14extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
15 const char *dev_name);
60e78d2c
AK
16
17extern void v9fs_cache_inode_get_cookie(struct inode *inode);
60e78d2c 18
60e78d2c
AK
19#else /* CONFIG_9P_FSCACHE */
20
ceaec15d
AV
21static inline void v9fs_cache_inode_get_cookie(struct inode *inode)
22{
23}
24
60e78d2c
AK
25#endif /* CONFIG_9P_FSCACHE */
26#endif /* _9P_CACHE_H */
This page took 0.650943 seconds and 4 git commands to generate.