diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2012-04-09 10:48:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 13:31:01 -0400 |
commit | d740e889d2a49b48a4527b5192dea9278e691d6f (patch) | |
tree | 2b5bf90474edad23c321ccf3679b10cea44aa26f /drivers/staging/ramster | |
parent | 6354eb81fe8cc32899959d2dac23aa1c9a12c9fa (diff) |
staging:ramster Fix typos in staging:ramster
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>
Diffstat (limited to 'drivers/staging/ramster')
-rw-r--r-- | drivers/staging/ramster/cluster/tcp.c | 4 | ||||
-rw-r--r-- | drivers/staging/ramster/xvmalloc.c | 2 | ||||
-rw-r--r-- | drivers/staging/ramster/zcache-main.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ramster/cluster/tcp.c b/drivers/staging/ramster/cluster/tcp.c index 3af1b2c51b7..3490192f8ca 100644 --- a/drivers/staging/ramster/cluster/tcp.c +++ b/drivers/staging/ramster/cluster/tcp.c | |||
@@ -111,7 +111,7 @@ static struct socket *r2net_listen_sock; | |||
111 | * r2net_wq. teardown detaches the callbacks before destroying the workqueue. | 111 | * r2net_wq. teardown detaches the callbacks before destroying the workqueue. |
112 | * quorum work is queued as sock containers are shutdown.. stop_listening | 112 | * quorum work is queued as sock containers are shutdown.. stop_listening |
113 | * tears down all the node's sock containers, preventing future shutdowns | 113 | * tears down all the node's sock containers, preventing future shutdowns |
114 | * and queued quroum work, before canceling delayed quorum work and | 114 | * and queued quorum work, before canceling delayed quorum work and |
115 | * destroying the work queue. | 115 | * destroying the work queue. |
116 | */ | 116 | */ |
117 | static struct workqueue_struct *r2net_wq; | 117 | static struct workqueue_struct *r2net_wq; |
@@ -660,7 +660,7 @@ out: | |||
660 | 660 | ||
661 | /* | 661 | /* |
662 | * we register callbacks so we can queue work on events before calling | 662 | * we register callbacks so we can queue work on events before calling |
663 | * the original callbacks. our callbacks our careful to test user_data | 663 | * the original callbacks. our callbacks are careful to test user_data |
664 | * to discover when they've reaced with r2net_unregister_callbacks(). | 664 | * to discover when they've reaced with r2net_unregister_callbacks(). |
665 | */ | 665 | */ |
666 | static void r2net_register_callbacks(struct sock *sk, | 666 | static void r2net_register_callbacks(struct sock *sk, |
diff --git a/drivers/staging/ramster/xvmalloc.c b/drivers/staging/ramster/xvmalloc.c index 93ba8e9407a..44ceb0b823a 100644 --- a/drivers/staging/ramster/xvmalloc.c +++ b/drivers/staging/ramster/xvmalloc.c | |||
@@ -132,7 +132,7 @@ static u32 find_block(struct xv_pool *pool, u32 size, | |||
132 | if (!pool->flbitmap) | 132 | if (!pool->flbitmap) |
133 | return 0; | 133 | return 0; |
134 | 134 | ||
135 | /* Get freelist index correspoding to this size */ | 135 | /* Get freelist index corresponding to this size */ |
136 | slindex = get_index(size); | 136 | slindex = get_index(size); |
137 | slbitmap = pool->slbitmap[slindex / BITS_PER_LONG]; | 137 | slbitmap = pool->slbitmap[slindex / BITS_PER_LONG]; |
138 | slbitstart = slindex % BITS_PER_LONG; | 138 | slbitstart = slindex % BITS_PER_LONG; |
diff --git a/drivers/staging/ramster/zcache-main.c b/drivers/staging/ramster/zcache-main.c index 68b2e053a0e..c071111f06f 100644 --- a/drivers/staging/ramster/zcache-main.c +++ b/drivers/staging/ramster/zcache-main.c | |||
@@ -2095,7 +2095,7 @@ out: | |||
2095 | /* | 2095 | /* |
2096 | * Called on a remote persistent tmem_get to attempt to preallocate | 2096 | * Called on a remote persistent tmem_get to attempt to preallocate |
2097 | * local storage for the data contained in the remote persistent page. | 2097 | * local storage for the data contained in the remote persistent page. |
2098 | * If succesfully preallocated, returns the pampd, marked as remote and | 2098 | * If successfully preallocated, returns the pampd, marked as remote and |
2099 | * in_transit. Else returns NULL. Note that the appropriate tmem data | 2099 | * in_transit. Else returns NULL. Note that the appropriate tmem data |
2100 | * structure must be locked. | 2100 | * structure must be locked. |
2101 | */ | 2101 | */ |