aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs_vfs.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-02-28 06:34:02 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 10:57:39 -0400
commita78ce05d5d342297b66122eda8add4eefa21f8a8 (patch)
tree84b9b4009ba0279ffbbc79382bbdbc6f168f23d8 /fs/9p/v9fs_vfs.h
parenta12119087bd803d3fa0b067ee18497e2e5d064cd (diff)
fs/9p: Add v9fs_inode
Switch to the fscache code to v9fs_inode. We will later use v9fs_inode in cache=loose mode to track the inode cache validity timeout. Ie if we find an inode in cache older that a specific jiffie range we will consider it stale Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/v9fs_vfs.h')
-rw-r--r--fs/9p/v9fs_vfs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h
index ab72e66c2e0c..ed9fd00566f2 100644
--- a/fs/9p/v9fs_vfs.h
+++ b/fs/9p/v9fs_vfs.h
@@ -47,12 +47,10 @@ extern const struct dentry_operations v9fs_dentry_operations;
47extern const struct dentry_operations v9fs_cached_dentry_operations; 47extern const struct dentry_operations v9fs_cached_dentry_operations;
48extern const struct file_operations v9fs_cached_file_operations; 48extern const struct file_operations v9fs_cached_file_operations;
49extern const struct file_operations v9fs_cached_file_operations_dotl; 49extern const struct file_operations v9fs_cached_file_operations_dotl;
50extern struct kmem_cache *v9fs_inode_cache;
50 51
51#ifdef CONFIG_9P_FSCACHE
52struct inode *v9fs_alloc_inode(struct super_block *sb); 52struct inode *v9fs_alloc_inode(struct super_block *sb);
53void v9fs_destroy_inode(struct inode *inode); 53void v9fs_destroy_inode(struct inode *inode);
54#endif
55
56struct inode *v9fs_get_inode(struct super_block *sb, int mode); 54struct inode *v9fs_get_inode(struct super_block *sb, int mode);
57int v9fs_init_inode(struct v9fs_session_info *v9ses, 55int v9fs_init_inode(struct v9fs_session_info *v9ses,
58 struct inode *inode, int mode); 56 struct inode *inode, int mode);