aboutsummaryrefslogtreecommitdiff
path: root/fs/9p/cache.h
diff options
context:
space:
mode:
authorGravatar Eric Van Hensbergen <ericvh@kernel.org> 2023-03-27 01:53:10 +0000
committerGravatar Eric Van Hensbergen <ericvh@kernel.org> 2023-04-09 21:41:21 +0000
commit4eb3117888a923f6b9b1ad2dd093641c49a63ae5 (patch)
tree789a090dabce6ae9a4c6b557cfcfbe6417170215 /fs/9p/cache.h
parentfs/9p: remove writeback fid and fix per-file modes (diff)
downloadlinux-4eb3117888a923f6b9b1ad2dd093641c49a63ae5.tar.gz
linux-4eb3117888a923f6b9b1ad2dd093641c49a63ae5.tar.bz2
linux-4eb3117888a923f6b9b1ad2dd093641c49a63ae5.zip
fs/9p: Rework cache modes and add new options to Documentation
Switch cache modes to a bit-mask and use legacy cache names as shortcuts. Update documentation to include information on both shortcuts and bitmasks. This patch also fixes missing guards related to fscache. Update the documentation for new mount flags and cache modes. Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Diffstat (limited to 'fs/9p/cache.h')
-rw-r--r--fs/9p/cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/9p/cache.h b/fs/9p/cache.h
index 1923affcdc62..ee1b6b06a2fd 100644
--- a/fs/9p/cache.h
+++ b/fs/9p/cache.h
@@ -8,9 +8,8 @@
#ifndef _9P_CACHE_H
#define _9P_CACHE_H
-#include <linux/fscache.h>
-
#ifdef CONFIG_9P_FSCACHE
+#include <linux/fscache.h>
extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
const char *dev_name);