Commit 9e6ee76d authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust

NFS: Export _nfs_display_fhandle()

Allow code in nfsv4.ko to use _nfs_display_fhandle().
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ec011fe8
...@@ -1209,6 +1209,7 @@ u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh) ...@@ -1209,6 +1209,7 @@ u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh)
* not on the result */ * not on the result */
return nfs_fhandle_hash(fh); return nfs_fhandle_hash(fh);
} }
EXPORT_SYMBOL_GPL(_nfs_display_fhandle_hash);
/* /*
* _nfs_display_fhandle - display an NFS file handle on the console * _nfs_display_fhandle - display an NFS file handle on the console
...@@ -1253,6 +1254,7 @@ void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption) ...@@ -1253,6 +1254,7 @@ void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption)
} }
} }
} }
EXPORT_SYMBOL_GPL(_nfs_display_fhandle);
#endif #endif
/** /**
......
...@@ -925,7 +925,7 @@ static int nfs4_server_common_setup(struct nfs_server *server, ...@@ -925,7 +925,7 @@ static int nfs4_server_common_setup(struct nfs_server *server,
dprintk("Server FSID: %llx:%llx\n", dprintk("Server FSID: %llx:%llx\n",
(unsigned long long) server->fsid.major, (unsigned long long) server->fsid.major,
(unsigned long long) server->fsid.minor); (unsigned long long) server->fsid.minor);
dprintk("Mount FH: %d\n", mntfh->size); nfs_display_fhandle(mntfh, "Pseudo-fs root FH");
nfs4_session_set_rwsize(server); nfs4_session_set_rwsize(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