summaryrefslogtreecommitdiffstats
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 12:34:06 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 15:57:40 +0100
commit0e432703aac3b187dd88d81ac23282f7b1c71002 (patch)
tree643f8e987018c6a78a1f53af828476522b5ec47c /fs/9p/vfs_super.c
parentfs/9p: Update link count correctly on different file system operations (diff)
downloadlinux-0e432703aac3b187dd88d81ac23282f7b1c71002.tar.xz
linux-0e432703aac3b187dd88d81ac23282f7b1c71002.zip
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 '')
-rw-r--r--fs/9p/vfs_super.c2
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,
retval = PTR_ERR(st);
goto release_sb;
}
-
+ root->d_inode->i_ino = v9fs_qid2ino(&st->qid);
v9fs_stat2inode_dotl(st, root->d_inode);
kfree(st);
} else {