From 56e33bbf23609d3fbc085d60dad18953e0b0c6e7 Mon Sep 17 00:00:00 2001 From: isaac Date: Thu, 24 Sep 2009 15:38:03 +0000 Subject: [PATCH] i=rread,b=20703: - comment typo fixes. --- lustre/include/linux/obd.h | 4 ++-- lustre/include/lustre_net.h | 2 +- lustre/include/obd.h | 2 +- lustre/ldlm/ldlm_lib.c | 4 ++-- lustre/llite/llite_lib.c | 2 +- lustre/mgc/mgc_request.c | 2 +- lustre/ptlrpc/service.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lustre/include/linux/obd.h b/lustre/include/linux/obd.h index fccfd1d..ce620f9 100644 --- a/lustre/include/linux/obd.h +++ b/lustre/include/linux/obd.h @@ -114,7 +114,7 @@ static inline void client_obd_list_unlock(client_obd_lock_t *lock) spin_unlock(&lock->lock); } -#else /* ifdef CLIEBT_OBD_LIST_LOCK_DEBUG */ +#else /* ifdef CLIENT_OBD_LIST_LOCK_DEBUG */ static inline void client_obd_list_lock(client_obd_lock_t *lock) { spin_lock(&lock->lock); @@ -125,7 +125,7 @@ static inline void client_obd_list_unlock(client_obd_lock_t *lock) spin_unlock(&lock->lock); } -#endif /* ifdef CLIEBT_OBD_LIST_LOCK_DEBUG */ +#endif /* ifdef CLIENT_OBD_LIST_LOCK_DEBUG */ static inline void client_obd_list_lock_init(client_obd_lock_t *lock) { diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index 91e5847..426f552 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -721,7 +721,7 @@ struct ptlrpc_service { int srv_n_active_reqs; /* # reqs being served */ int srv_n_hpreq; /* # HPreqs being served */ cfs_duration_t srv_rqbd_timeout; /* timeout before re-posting reqs, in tick */ - int srv_watchdog_factor; /* soft watchdog timeout mutiplier */ + int srv_watchdog_factor; /* soft watchdog timeout multiplier */ unsigned srv_cpu_affinity:1; /* bind threads to CPUs */ unsigned srv_at_check:1; /* check early replies */ unsigned srv_is_stopping:1; /* under unregister_service */ diff --git a/lustre/include/obd.h b/lustre/include/obd.h index 6c28088..3ff60f0 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -1057,7 +1057,7 @@ struct obd_device { obd_starting:1, /* started setup */ obd_force:1, /* cleanup with > 0 obd refcount */ obd_fail:1, /* cleanup with failover */ - obd_async_recov:1, /* allow asyncronous orphan cleanup */ + obd_async_recov:1, /* allow asynchronous orphan cleanup */ obd_no_conn:1, /* deny new connections */ obd_inactive:1, /* device active/inactive * (for /proc/status only!!) */ diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 56dd936..cb57a86 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -518,7 +518,7 @@ int client_disconnect_export(struct obd_export *exp) } /* - * there's no necessary to hold sem during diconnecting an import, + * there's no need to hold sem during disconnecting an import, * and actually it may cause deadlock in gss. */ up_write(&cli->cl_sem); @@ -1321,7 +1321,7 @@ static void check_and_start_recovery_timer(struct obd_device *obd) * attempt timing. So the initial recovery time_out will be set to * OBD_RECOVERY_FACTOR * obd_timeout. If the timeout coming * from client is bigger than this, then the recovery time_out will - * be extend to make sure the client could be reconnected, in the + * be extended to make sure the client could be reconnected, in the * process, the timeout from the new client should be ignored. */ diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index bab7426..ddde3c7 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -274,7 +274,7 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt) * * it will check if *ppos is greater than max. However, max equals to * s_maxbytes, which is a negative integer in a x86_64 box since loff_t - * has been defined as a signed long long ineger in linux kernel. */ + * has been defined as a signed long long integer in linux kernel. */ #if BITS_PER_LONG == 64 sb->s_maxbytes = PAGE_CACHE_MAXBYTES >> 1; #else diff --git a/lustre/mgc/mgc_request.c b/lustre/mgc/mgc_request.c index 884fda9..337418b 100644 --- a/lustre/mgc/mgc_request.c +++ b/lustre/mgc/mgc_request.c @@ -1300,7 +1300,7 @@ int mgc_process_log(struct obd_device *mgc, LASSERT(cld); - /* I don't want mutliple processes running process_log at once -- + /* I don't want multiple processes running process_log at once -- sounds like badness. It actually might be fine, as long as we're not trying to update from the same log simultaneously (in which case we should use a per-log sem.) */ diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index dff36d3..14ea78d6 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -1207,7 +1207,7 @@ void ptlrpc_hpreq_reorder(struct ptlrpc_request *req) EXIT; } -/** Check if the request if a high priority one. */ +/** Check if the request is a high priority one. */ static int ptlrpc_server_hpreq_check(struct ptlrpc_request *req) { int opc, rc = 0; -- 1.8.3.1