diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-04-27 13:27:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 14:10:02 -0400 |
commit | f05d147f7e3cf0d86b3a4bd5603029a7cb109633 (patch) | |
tree | e351ef7dd3d541626f5cccef86f50906bfb3a649 /fs/nfs/internal.h | |
parent | 72de53ec4bca39c26709122a8f78bfefe7b6bca4 (diff) |
NFS: Fix following referral mount points with different security
I create a new proc_lookup_mountpoint() to use when submounting an NFS
v4 share. This function returns an rpc_clnt to use for performing an
fs_locations() call on a referral's mountpoint.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 45966d95316..49c09b4a535 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -186,10 +186,10 @@ static inline void nfs_fs_proc_exit(void) | |||
186 | 186 | ||
187 | /* nfs4namespace.c */ | 187 | /* nfs4namespace.c */ |
188 | #ifdef CONFIG_NFS_V4 | 188 | #ifdef CONFIG_NFS_V4 |
189 | extern struct vfsmount *nfs_do_refmount(struct dentry *dentry); | 189 | extern struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry); |
190 | #else | 190 | #else |
191 | static inline | 191 | static inline |
192 | struct vfsmount *nfs_do_refmount(struct dentry *dentry) | 192 | struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) |
193 | { | 193 | { |
194 | return ERR_PTR(-ENOENT); | 194 | return ERR_PTR(-ENOENT); |
195 | } | 195 | } |