aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/getroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/getroot.c')
-rw-r--r--fs/nfs/getroot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c
index b5ffe8fa291f..4d6e5a317e6d 100644
--- a/fs/nfs/getroot.c
+++ b/fs/nfs/getroot.c
@@ -75,7 +75,8 @@ static int nfs_superblock_set_dummy_root(struct super_block *sb, struct inode *i
75/* 75/*
76 * get an NFS2/NFS3 root dentry from the root filehandle 76 * get an NFS2/NFS3 root dentry from the root filehandle
77 */ 77 */
78struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh) 78struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh,
79 const char *devname)
79{ 80{
80 struct nfs_server *server = NFS_SB(sb); 81 struct nfs_server *server = NFS_SB(sb);
81 struct nfs_fsinfo fsinfo; 82 struct nfs_fsinfo fsinfo;
@@ -169,7 +170,8 @@ out:
169/* 170/*
170 * get an NFS4 root dentry from the root filehandle 171 * get an NFS4 root dentry from the root filehandle
171 */ 172 */
172struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh) 173struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh,
174 const char *devname)
173{ 175{
174 struct nfs_server *server = NFS_SB(sb); 176 struct nfs_server *server = NFS_SB(sb);
175 struct nfs_fattr *fattr = NULL; 177 struct nfs_fattr *fattr = NULL;