aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_super.c
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/vfs_super.c
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/vfs_super.c')
-rw-r--r--fs/9p/vfs_super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 6985e2a7a118..6c812d1c58f1 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -292,10 +292,8 @@ static int v9fs_sync_fs(struct super_block *sb, int wait)
292} 292}
293 293
294static const struct super_operations v9fs_super_ops = { 294static const struct super_operations v9fs_super_ops = {
295#ifdef CONFIG_9P_FSCACHE
296 .alloc_inode = v9fs_alloc_inode, 295 .alloc_inode = v9fs_alloc_inode,
297 .destroy_inode = v9fs_destroy_inode, 296 .destroy_inode = v9fs_destroy_inode,
298#endif
299 .statfs = simple_statfs, 297 .statfs = simple_statfs,
300 .evict_inode = v9fs_evict_inode, 298 .evict_inode = v9fs_evict_inode,
301 .show_options = generic_show_options, 299 .show_options = generic_show_options,
@@ -303,10 +301,8 @@ static const struct super_operations v9fs_super_ops = {
303}; 301};
304 302
305static const struct super_operations v9fs_super_ops_dotl = { 303static const struct super_operations v9fs_super_ops_dotl = {
306#ifdef CONFIG_9P_FSCACHE
307 .alloc_inode = v9fs_alloc_inode, 304 .alloc_inode = v9fs_alloc_inode,
308 .destroy_inode = v9fs_destroy_inode, 305 .destroy_inode = v9fs_destroy_inode,
309#endif
310 .sync_fs = v9fs_sync_fs, 306 .sync_fs = v9fs_sync_fs,
311 .statfs = v9fs_statfs, 307 .statfs = v9fs_statfs,
312 .evict_inode = v9fs_evict_inode, 308 .evict_inode = v9fs_evict_inode,