Skip to content

Commit

Permalink
staging:ramster Fix typos in staging:ramster
Browse files Browse the repository at this point in the history
The below patch fixes some typos that I found while reading.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Justin P. Mattock authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 6354eb8 commit d740e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/ramster/cluster/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static struct socket *r2net_listen_sock;
* r2net_wq. teardown detaches the callbacks before destroying the workqueue.
* quorum work is queued as sock containers are shutdown.. stop_listening
* tears down all the node's sock containers, preventing future shutdowns
* and queued quroum work, before canceling delayed quorum work and
* and queued quorum work, before canceling delayed quorum work and
* destroying the work queue.
*/
static struct workqueue_struct *r2net_wq;
Expand Down Expand Up @@ -660,7 +660,7 @@ static void r2net_state_change(struct sock *sk)

/*
* we register callbacks so we can queue work on events before calling
* the original callbacks. our callbacks our careful to test user_data
* the original callbacks. our callbacks are careful to test user_data
* to discover when they've reaced with r2net_unregister_callbacks().
*/
static void r2net_register_callbacks(struct sock *sk,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ramster/xvmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static u32 find_block(struct xv_pool *pool, u32 size,
if (!pool->flbitmap)
return 0;

/* Get freelist index correspoding to this size */
/* Get freelist index corresponding to this size */
slindex = get_index(size);
slbitmap = pool->slbitmap[slindex / BITS_PER_LONG];
slbitstart = slindex % BITS_PER_LONG;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ramster/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ int zcache_localify(int pool_id, struct tmem_oid *oidp,
/*
* Called on a remote persistent tmem_get to attempt to preallocate
* local storage for the data contained in the remote persistent page.
* If succesfully preallocated, returns the pampd, marked as remote and
* If successfully preallocated, returns the pampd, marked as remote and
* in_transit. Else returns NULL. Note that the appropriate tmem data
* structure must be locked.
*/
Expand Down

0 comments on commit d740e88

Please sign in to comment.