diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2013-10-17 14:12:45 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-10-28 15:23:35 -0400 |
commit | 9e6ee76dfb7cd747fac5679542a9b45930173eec (patch) | |
tree | 0958581fecd3ad43bcc9c0ee093f1fbf1637497a /fs | |
parent | ec011fe847347b40c60fdb5085f65227762e2e08 (diff) |
NFS: Export _nfs_display_fhandle()
Allow code in nfsv4.ko to use _nfs_display_fhandle().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/inode.c | 2 | ||||
-rw-r--r-- | fs/nfs/nfs4client.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index eda8879171c4..4bc7538f951e 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -1209,6 +1209,7 @@ u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh) | |||
1209 | * not on the result */ | 1209 | * not on the result */ |
1210 | return nfs_fhandle_hash(fh); | 1210 | return nfs_fhandle_hash(fh); |
1211 | } | 1211 | } |
1212 | EXPORT_SYMBOL_GPL(_nfs_display_fhandle_hash); | ||
1212 | 1213 | ||
1213 | /* | 1214 | /* |
1214 | * _nfs_display_fhandle - display an NFS file handle on the console | 1215 | * _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 | } | 1254 | } |
1254 | } | 1255 | } |
1255 | } | 1256 | } |
1257 | EXPORT_SYMBOL_GPL(_nfs_display_fhandle); | ||
1256 | #endif | 1258 | #endif |
1257 | 1259 | ||
1258 | /** | 1260 | /** |
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index c6eee812337f..a2cba66f8345 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c | |||
@@ -925,7 +925,7 @@ static int nfs4_server_common_setup(struct nfs_server *server, | |||
925 | dprintk("Server FSID: %llx:%llx\n", | 925 | dprintk("Server FSID: %llx:%llx\n", |
926 | (unsigned long long) server->fsid.major, | 926 | (unsigned long long) server->fsid.major, |
927 | (unsigned long long) server->fsid.minor); | 927 | (unsigned long long) server->fsid.minor); |
928 | dprintk("Mount FH: %d\n", mntfh->size); | 928 | nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); |
929 | 929 | ||
930 | nfs4_session_set_rwsize(server); | 930 | nfs4_session_set_rwsize(server); |
931 | 931 | ||