From 418ca56f911a05d9487f4c3c3dc2ca2d37c5da15 Mon Sep 17 00:00:00 2001 From: Perry Ruiter Date: Tue, 27 May 2014 00:07:52 -0700 Subject: [PATCH] Correct comment typos in a couple files Correct typos in a couple files. These were noticed while researching code paths. Comment changes only. No code change. afs/afs_stats.h has source file names updated on several lines. Many source file name comments are wrong in this file. I didn't attempt to correct them all, just the ones I bumped into. If I bump into others in the future I'll fix them then. rx/rx_call.h has source of enumerated types corrected. Change-Id: Ie78b7f20b5c9c2261ec8a73701e77bdfbabd8465 Reviewed-on: http://gerrit.openafs.org/11172 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Michael Meffie Reviewed-by: Jeffrey Altman --- src/afs/afs_stats.h | 18 +++++++++--------- src/rx/rx_call.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/afs/afs_stats.h b/src/afs/afs_stats.h index 9a96b4155..d3d99ddd8 100644 --- a/src/afs/afs_stats.h +++ b/src/afs/afs_stats.h @@ -381,10 +381,10 @@ struct afs_MeanStats { AFS_CS(osi_CancelProc) /* afs_osi.c */ \ AFS_CS(osi_Invisible) /* afs_osi.c */ \ AFS_CS(osi_Time) /* afs_osi.c */ \ - AFS_CS(osi_Alloc) /* afs_osi.c */ \ + AFS_CS(osi_Alloc) /* afs_osi_alloc.c */ \ AFS_CS(osi_SetTime) /* afs_osi.c */ \ AFS_CS(osi_Dump) /* afs_osi.c */ \ - AFS_CS(osi_Free) /* afs_osi.c */ \ + AFS_CS(osi_Free) /* afs_osi_alloc.c */ \ AFS_CS(shutdown_osi) /* afs_osi.c */ \ AFS_CS(osi_UFSOpen) /* afs_osifile.c */ \ AFS_CS(osi_Close) /* afs_osifile.c */ \ @@ -394,13 +394,13 @@ struct afs_MeanStats { AFS_CS(osi_Write) /* afs_osifile.c */ \ AFS_CS(osi_MapStrategy) /* afs_osifile.c */ \ AFS_CS(shutdown_osifile) /* afs_osifile.c */ \ - AFS_CS(osi_FreeLargeSpace) /* afs_osinet.c */ \ - AFS_CS(osi_FreeSmallSpace) /* afs_osinet.c */ \ + AFS_CS(osi_FreeLargeSpace) /* afs_osi_alloc.c */ \ + AFS_CS(osi_FreeSmallSpace) /* afs_osi_alloc.c */ \ AFS_CS(pkt_iodone) /* afs_osinet.c */ \ - AFS_CS(shutdown_osinet) /* afs_osinet.c */ \ + AFS_CS(shutdown_osinet) /* afs_osi_alloc.c */ \ AFS_CS(afs_cs) /* afs_osinet.c */ \ - AFS_CS(osi_AllocLargeSpace) /* afs_osinet.c */ \ - AFS_CS(osi_AllocSmallSpace) /* afs_osinet.c */ \ + AFS_CS(osi_AllocLargeSpace) /* afs_osi_alloc.c */ \ + AFS_CS(osi_AllocSmallSpace) /* afs_osi_alloc.c */ \ AFS_CS(osi_CloseToTheEdge) /* afs_osinet.c */ \ AFS_CS(osi_xgreedy) /* afs_osinet.c */ \ AFS_CS(osi_FreeSocket) /* afs_osinet.c */ \ @@ -634,8 +634,8 @@ struct afs_MeanStats { AFS_CS(afs_xflock) /* afs_vnodeops.c */ \ AFS_CS(PSetSPrefs) /* afs_pioctl.c */ \ AFS_CS(PGetSPrefs) /* afs_pioctl.c */ \ - AFS_CS(afs_warn) /* afs_resource.c */ \ - AFS_CS(afs_warnuser) /* afs_resource.c */ \ + AFS_CS(afs_warn) /* afs_warn.c */ \ + AFS_CS(afs_warnuser) /* afs_warn.c */ \ AFS_CS(afs_pagein) /* afs_hp_subr.c */ \ AFS_CS(afs_pageout) /* afs_hp_subr.c */ \ AFS_CS(afs_hp_strategy) /* afs_hp_subr.c */ \ diff --git a/src/rx/rx_call.h b/src/rx/rx_call.h index 68563590c..768debc86 100644 --- a/src/rx/rx_call.h +++ b/src/rx/rx_call.h @@ -49,7 +49,7 @@ struct rx_call { struct opr_queue rq; /* Receive packet queue */ struct rx_call_appl app; /* Data private to the application thread */ u_char channel; /* Index of call, within connection */ - u_char state; /* Current call state as defined below */ + u_char state; /* Current call state as defined in rx.h */ #ifdef RX_ENABLE_LOCKS afs_kmutex_t lock; /* lock covers data as well as mutexes. */ afs_kmutex_t *call_queue_lock; /* points to lock for queue we're on, -- 2.39.5