diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 05:27:27 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 16:27:04 -0400 |
commit | 0d5839ad05acd0fe2a84a39f33ac5efdf634a5a5 (patch) | |
tree | a84d6d3a1169a8ff4598cf1337c5e5e75863f6e2 /fs/nfs/internal.h | |
parent | 60ed8cf78f886753e454b671841c0a3a0e55e915 (diff) |
nfs: propagate devname to nfs{,4}_get_root()
step 1 of ->mnt_devname fixes: make sure we have the value of devname
available in ..._get_root().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index cf9fdbdabc67..9e5a003ccc53 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -254,9 +254,11 @@ extern char *nfs_path(const char *base, | |||
254 | extern struct vfsmount *nfs_d_automount(struct path *path); | 254 | extern struct vfsmount *nfs_d_automount(struct path *path); |
255 | 255 | ||
256 | /* getroot.c */ | 256 | /* getroot.c */ |
257 | extern struct dentry *nfs_get_root(struct super_block *, struct nfs_fh *); | 257 | extern struct dentry *nfs_get_root(struct super_block *, struct nfs_fh *, |
258 | const char *); | ||
258 | #ifdef CONFIG_NFS_V4 | 259 | #ifdef CONFIG_NFS_V4 |
259 | extern struct dentry *nfs4_get_root(struct super_block *, struct nfs_fh *); | 260 | extern struct dentry *nfs4_get_root(struct super_block *, struct nfs_fh *, |
261 | const char *); | ||
260 | 262 | ||
261 | extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh); | 263 | extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh); |
262 | #endif | 264 | #endif |