diff options
Diffstat (limited to 'fs/nfs/getroot.c')
-rw-r--r-- | fs/nfs/getroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c index b94f80420a58..880618a8b048 100644 --- a/fs/nfs/getroot.c +++ b/fs/nfs/getroot.c | |||
@@ -112,7 +112,7 @@ struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh, | |||
112 | * if the dentry tree reaches them; however if the dentry already | 112 | * if the dentry tree reaches them; however if the dentry already |
113 | * exists, we'll pick it up at this point and use it as the root | 113 | * exists, we'll pick it up at this point and use it as the root |
114 | */ | 114 | */ |
115 | ret = d_obtain_alias(inode); | 115 | ret = d_obtain_root(inode); |
116 | if (IS_ERR(ret)) { | 116 | if (IS_ERR(ret)) { |
117 | dprintk("nfs_get_root: get root dentry failed\n"); | 117 | dprintk("nfs_get_root: get root dentry failed\n"); |
118 | goto out; | 118 | goto out; |