Commit 3230c0cc authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: lustre: Fix typo in lustre/libcfs

Correct spelling typos in comment and debug message,
within  luster/libcfs
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fcfeef6c
...@@ -1965,7 +1965,7 @@ cfs_hash_rehash_worker(cfs_workitem_t *wi) ...@@ -1965,7 +1965,7 @@ cfs_hash_rehash_worker(cfs_workitem_t *wi)
if (bkts != NULL) if (bkts != NULL)
cfs_hash_buckets_free(bkts, bsize, new_size, old_size); cfs_hash_buckets_free(bkts, bsize, new_size, old_size);
if (rc != 0) if (rc != 0)
CDEBUG(D_INFO, "early quit of of rehashing: %d\n", rc); CDEBUG(D_INFO, "early quit of rehashing: %d\n", rc);
/* return 1 only if cfs_wi_exit is called */ /* return 1 only if cfs_wi_exit is called */
return rc == -ESRCH; return rc == -ESRCH;
} }
......
...@@ -167,7 +167,7 @@ static int cfs_access_process_vm(struct task_struct *tsk, unsigned long addr, ...@@ -167,7 +167,7 @@ static int cfs_access_process_vm(struct task_struct *tsk, unsigned long addr,
return 0; return 0;
down_read(&mm->mmap_sem); down_read(&mm->mmap_sem);
/* ignore errors, just check how much was sucessfully transfered */ /* ignore errors, just check how much was successfully transferred */
while (len) { while (len) {
int bytes, rc, offset; int bytes, rc, offset;
void *maddr; void *maddr;
......
...@@ -70,7 +70,7 @@ static unsigned int seed_y = 362436069; ...@@ -70,7 +70,7 @@ static unsigned int seed_y = 362436069;
* cfs_rand - creates new seeds * cfs_rand - creates new seeds
* *
* First it creates new seeds from the previous seeds. Then it generates a * First it creates new seeds from the previous seeds. Then it generates a
* new psuedo random number for use. * new pseudo random number for use.
* *
* Returns a pseudo-random 32-bit integer * Returns a pseudo-random 32-bit integer
*/ */
...@@ -84,7 +84,7 @@ unsigned int cfs_rand(void) ...@@ -84,7 +84,7 @@ unsigned int cfs_rand(void)
EXPORT_SYMBOL(cfs_rand); EXPORT_SYMBOL(cfs_rand);
/** /**
* cfs_srand - sets the inital seed * cfs_srand - sets the initial seed
* @seed1 : (seed_x) should have the most entropy in the low bits of the word * @seed1 : (seed_x) should have the most entropy in the low bits of the word
* @seed2 : (seed_y) should have the most entropy in the high bits of the word * @seed2 : (seed_y) should have the most entropy in the high bits of the word
* *
......
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