diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2012-05-21 22:44:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-22 16:45:43 -0400 |
commit | 591555465ec513c42416392d392fd56866cb220c (patch) | |
tree | 8b7ce3d4fe39e31e48e3e7a1a604675395607888 /fs/nfs/super.c | |
parent | 79d4e1f0d8910f0214a57832ca6d589640d572c0 (diff) |
NFS: Use proper naming conventions for nfs_client.impl_id field
Clean up: When naming fields and data types, follow established
conventions to facilitate accurate grep/cscope searches.
Additionally, for consistency, move the impl_id field into the NFSv4-
specific part of the nfs_client, and free that memory in the logic
that shuts down NFSv4 nfs_clients.
Introduced by commit 7d2ed9ac "NFSv4: parse and display server
implementation ids," Fri Feb 17, 2012.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index a973eb101a92..ff656c022684 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -796,8 +796,8 @@ static void show_pnfs(struct seq_file *m, struct nfs_server *server) | |||
796 | 796 | ||
797 | static void show_implementation_id(struct seq_file *m, struct nfs_server *nfss) | 797 | static void show_implementation_id(struct seq_file *m, struct nfs_server *nfss) |
798 | { | 798 | { |
799 | if (nfss->nfs_client && nfss->nfs_client->impl_id) { | 799 | if (nfss->nfs_client && nfss->nfs_client->cl_implid) { |
800 | struct nfs41_impl_id *impl_id = nfss->nfs_client->impl_id; | 800 | struct nfs41_impl_id *impl_id = nfss->nfs_client->cl_implid; |
801 | seq_printf(m, "\n\timpl_id:\tname='%s',domain='%s'," | 801 | seq_printf(m, "\n\timpl_id:\tname='%s',domain='%s'," |
802 | "date='%llu,%u'", | 802 | "date='%llu,%u'", |
803 | impl_id->name, impl_id->domain, | 803 | impl_id->name, impl_id->domain, |