Commit 5fe1210d authored by Anna Schumaker's avatar Anna Schumaker Committed by Trond Myklebust

NFS: Unexport nfs_probe_fsinfo()

All the callers are now in client.c so we can remove the
EXPORT_SYMBOL_GPL() and make it static.
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 1301ba60
...@@ -828,7 +828,7 @@ static void nfs_server_set_fsinfo(struct nfs_server *server, ...@@ -828,7 +828,7 @@ static void nfs_server_set_fsinfo(struct nfs_server *server,
/* /*
* Probe filesystem information, including the FSID on v2/v3 * Probe filesystem information, including the FSID on v2/v3
*/ */
int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) static int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr)
{ {
struct nfs_fsinfo fsinfo; struct nfs_fsinfo fsinfo;
struct nfs_client *clp = server->nfs_client; struct nfs_client *clp = server->nfs_client;
...@@ -862,7 +862,6 @@ int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs ...@@ -862,7 +862,6 @@ int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(nfs_probe_fsinfo);
/* /*
* Grab the destination's particulars, including lease expiry time. * Grab the destination's particulars, including lease expiry time.
......
...@@ -193,7 +193,6 @@ extern void nfs_clients_exit(struct net *net); ...@@ -193,7 +193,6 @@ extern void nfs_clients_exit(struct net *net);
extern struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *); extern struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *);
int nfs_create_rpc_client(struct nfs_client *, const struct nfs_client_initdata *, rpc_authflavor_t); int nfs_create_rpc_client(struct nfs_client *, const struct nfs_client_initdata *, rpc_authflavor_t);
struct nfs_client *nfs_get_client(const struct nfs_client_initdata *); struct nfs_client *nfs_get_client(const struct nfs_client_initdata *);
int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *);
int nfs_probe_server(struct nfs_server *, struct nfs_fh *); int nfs_probe_server(struct nfs_server *, struct nfs_fh *);
void nfs_server_insert_lists(struct nfs_server *); void nfs_server_insert_lists(struct nfs_server *);
void nfs_server_remove_lists(struct nfs_server *); void nfs_server_remove_lists(struct nfs_server *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment