aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-02-09 09:25:23 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-11 02:20:18 -0500
commitac7bfa62f3ad06a2a2ac3938b7e6fc4f318a762d (patch)
treefbac1719544df7f547be17e042478c03605c2a90 /net/unix/garbage.c
parentc43072852649d8382b81237ce51195bcec36f24a (diff)
[NET] UNIX: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r--net/unix/garbage.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index f14ad6635fcc..f8bcf5d114d9 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -63,7 +63,7 @@
63 * Damn. Added missing check for ->dead in listen queues scanning. 63 * Damn. Added missing check for ->dead in listen queues scanning.
64 * 64 *
65 */ 65 */
66 66
67#include <linux/kernel.h> 67#include <linux/kernel.h>
68#include <linux/sched.h> 68#include <linux/sched.h>
69#include <linux/string.h> 69#include <linux/string.h>
@@ -118,7 +118,7 @@ static struct sock *unix_get_socket(struct file *filp)
118 * Keep the number of times in flight count for the file 118 * Keep the number of times in flight count for the file
119 * descriptor if it is for an AF_UNIX socket. 119 * descriptor if it is for an AF_UNIX socket.
120 */ 120 */
121 121
122void unix_inflight(struct file *fp) 122void unix_inflight(struct file *fp)
123{ 123{
124 struct sock *s = unix_get_socket(fp); 124 struct sock *s = unix_get_socket(fp);
@@ -190,7 +190,7 @@ void unix_gc(void)
190 unix_sk(s)->gc_tree = GC_ORPHAN; 190 unix_sk(s)->gc_tree = GC_ORPHAN;
191 } 191 }
192 /* 192 /*
193 * Everything is now marked 193 * Everything is now marked
194 */ 194 */
195 195
196 /* Invariant to be maintained: 196 /* Invariant to be maintained:
@@ -227,7 +227,7 @@ void unix_gc(void)
227 } 227 }
228 228
229 /* 229 /*
230 * Mark phase 230 * Mark phase
231 */ 231 */
232 232
233 while (!empty_stack()) 233 while (!empty_stack())
@@ -237,11 +237,11 @@ void unix_gc(void)
237 237
238 spin_lock(&x->sk_receive_queue.lock); 238 spin_lock(&x->sk_receive_queue.lock);
239 skb = skb_peek(&x->sk_receive_queue); 239 skb = skb_peek(&x->sk_receive_queue);
240 240
241 /* 241 /*
242 * Loop through all but first born 242 * Loop through all but first born
243 */ 243 */
244 244
245 while (skb && skb != (struct sk_buff *)&x->sk_receive_queue) { 245 while (skb && skb != (struct sk_buff *)&x->sk_receive_queue) {
246 /* 246 /*
247 * Do we have file descriptors ? 247 * Do we have file descriptors ?