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:01 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 10:57:39 -0400
commit5ffc0cb308f69cea36058d308d911f26ee59316e (patch)
tree3419cbaeab2d8f20d96123ba20604d82b9129a80 /fs/9p/v9fs_vfs.h
parent62d810b424e434a38ad6b17fb93cd5748692a026 (diff)
fs/9p: Add inode hashing
We didn't add the inode to inode hash in 9p. We need to do that to get sync to work, otherwise __mark_inode_dirty will not add the inode to super block's dirty list. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h
index c44aaa8bd2a3..ab72e66c2e0c 100644
--- a/fs/9p/v9fs_vfs.h
+++ b/fs/9p/v9fs_vfs.h
@@ -54,6 +54,8 @@ void v9fs_destroy_inode(struct inode *inode);
54#endif 54#endif
55 55
56struct inode *v9fs_get_inode(struct super_block *sb, int mode); 56struct inode *v9fs_get_inode(struct super_block *sb, int mode);
57int v9fs_init_inode(struct v9fs_session_info *v9ses,
58 struct inode *inode, int mode);
57void v9fs_evict_inode(struct inode *inode); 59void v9fs_evict_inode(struct inode *inode);
58ino_t v9fs_qid2ino(struct p9_qid *qid); 60ino_t v9fs_qid2ino(struct p9_qid *qid);
59void v9fs_stat2inode(struct p9_wstat *, struct inode *, struct super_block *); 61void v9fs_stat2inode(struct p9_wstat *, struct inode *, struct super_block *);