diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-02-28 06:34:06 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 10:57:40 -0400 |
commit | 0e432703aac3b187dd88d81ac23282f7b1c71002 (patch) | |
tree | 643f8e987018c6a78a1f53af828476522b5ec47c /fs | |
parent | b271ec47bc11deacb6a0373ee29965ab628e74b2 (diff) |
fs/9p: Initialize root inode number for dotl
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')
-rw-r--r-- | fs/9p/vfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 3fdaeb3c6eda..1d99b185bed1 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c | |||
@@ -168,7 +168,7 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags, | |||
168 | retval = PTR_ERR(st); | 168 | retval = PTR_ERR(st); |
169 | goto release_sb; | 169 | goto release_sb; |
170 | } | 170 | } |
171 | 171 | root->d_inode->i_ino = v9fs_qid2ino(&st->qid); | |
172 | v9fs_stat2inode_dotl(st, root->d_inode); | 172 | v9fs_stat2inode_dotl(st, root->d_inode); |
173 | kfree(st); | 173 | kfree(st); |
174 | } else { | 174 | } else { |