mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
NFS: Move declaration of nfs_mount() to fs/nfs/internal.h
Clean up: The nfs_mount() function is not to be used outside of the NFS client. Move its public declaration to fs/nfs/internal.h. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
7b5d2b98e1
commit
146ec944bb
3 changed files with 6 additions and 6 deletions
|
@ -63,6 +63,10 @@ struct nfs_parsed_mount_data {
|
||||||
struct security_mnt_opts lsm_opts;
|
struct security_mnt_opts lsm_opts;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* mount_clnt.c */
|
||||||
|
extern int nfs_mount(struct sockaddr *, size_t, char *, char *,
|
||||||
|
int, int, struct nfs_fh *);
|
||||||
|
|
||||||
/* client.c */
|
/* client.c */
|
||||||
extern struct rpc_program nfs_program;
|
extern struct rpc_program nfs_program;
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,8 @@
|
||||||
#include <net/ipconfig.h>
|
#include <net/ipconfig.h>
|
||||||
#include <linux/parser.h>
|
#include <linux/parser.h>
|
||||||
|
|
||||||
|
#include "internal.h"
|
||||||
|
|
||||||
/* Define this to allow debugging output */
|
/* Define this to allow debugging output */
|
||||||
#undef NFSROOT_DEBUG
|
#undef NFSROOT_DEBUG
|
||||||
#define NFSDBG_FACILITY NFSDBG_ROOT
|
#define NFSDBG_FACILITY NFSDBG_ROOT
|
||||||
|
|
|
@ -532,12 +532,6 @@ static inline void nfs3_forget_cached_acls(struct inode *inode)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_NFS_V3_ACL */
|
#endif /* CONFIG_NFS_V3_ACL */
|
||||||
|
|
||||||
/*
|
|
||||||
* linux/fs/mount_clnt.c
|
|
||||||
*/
|
|
||||||
extern int nfs_mount(struct sockaddr *, size_t, char *, char *,
|
|
||||||
int, int, struct nfs_fh *);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* inline functions
|
* inline functions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue