diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-02-28 06:34:02 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 10:57:39 -0400 |
commit | a78ce05d5d342297b66122eda8add4eefa21f8a8 (patch) | |
tree | 84b9b4009ba0279ffbbc79382bbdbc6f168f23d8 /fs/9p/v9fs_vfs.h | |
parent | a12119087bd803d3fa0b067ee18497e2e5d064cd (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.h | 4 |
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; | |||
47 | extern const struct dentry_operations v9fs_cached_dentry_operations; | 47 | extern const struct dentry_operations v9fs_cached_dentry_operations; |
48 | extern const struct file_operations v9fs_cached_file_operations; | 48 | extern const struct file_operations v9fs_cached_file_operations; |
49 | extern const struct file_operations v9fs_cached_file_operations_dotl; | 49 | extern const struct file_operations v9fs_cached_file_operations_dotl; |
50 | extern struct kmem_cache *v9fs_inode_cache; | ||
50 | 51 | ||
51 | #ifdef CONFIG_9P_FSCACHE | ||
52 | struct inode *v9fs_alloc_inode(struct super_block *sb); | 52 | struct inode *v9fs_alloc_inode(struct super_block *sb); |
53 | void v9fs_destroy_inode(struct inode *inode); | 53 | void v9fs_destroy_inode(struct inode *inode); |
54 | #endif | ||
55 | |||
56 | struct inode *v9fs_get_inode(struct super_block *sb, int mode); | 54 | struct inode *v9fs_get_inode(struct super_block *sb, int mode); |
57 | int v9fs_init_inode(struct v9fs_session_info *v9ses, | 55 | int v9fs_init_inode(struct v9fs_session_info *v9ses, |
58 | struct inode *inode, int mode); | 56 | struct inode *inode, int mode); |