diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-02-28 06:34:01 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 10:57:39 -0400 |
commit | 5ffc0cb308f69cea36058d308d911f26ee59316e (patch) | |
tree | 3419cbaeab2d8f20d96123ba20604d82b9129a80 /fs/9p/v9fs_vfs.h | |
parent | 62d810b424e434a38ad6b17fb93cd5748692a026 (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.h | 2 |
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 | ||
56 | struct inode *v9fs_get_inode(struct super_block *sb, int mode); | 56 | struct inode *v9fs_get_inode(struct super_block *sb, int mode); |
57 | int v9fs_init_inode(struct v9fs_session_info *v9ses, | ||
58 | struct inode *inode, int mode); | ||
57 | void v9fs_evict_inode(struct inode *inode); | 59 | void v9fs_evict_inode(struct inode *inode); |
58 | ino_t v9fs_qid2ino(struct p9_qid *qid); | 60 | ino_t v9fs_qid2ino(struct p9_qid *qid); |
59 | void v9fs_stat2inode(struct p9_wstat *, struct inode *, struct super_block *); | 61 | void v9fs_stat2inode(struct p9_wstat *, struct inode *, struct super_block *); |