aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/kafsasyncd.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-26 18:49:28 -0400
committerDavid S. Miller <davem@davemloft.net>2007-04-26 18:49:28 -0400
commitec26815ad847dbf74a1e27aa5515fb7d5dc6ee6f (patch)
tree32510ab35b3524f6be9231ab8065b80be5d9b68d /fs/afs/kafsasyncd.c
parent17926a79320afa9b95df6b977b40cca6d8713cea (diff)
[AFS]: Clean up the AFS sources
Clean up the AFS sources. Also remove references to AFS keys. RxRPC keys are used instead. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/kafsasyncd.c')
-rw-r--r--fs/afs/kafsasyncd.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/fs/afs/kafsasyncd.c b/fs/afs/kafsasyncd.c
index 615df2407cb2..8ca01c236013 100644
--- a/fs/afs/kafsasyncd.c
+++ b/fs/afs/kafsasyncd.c
@@ -1,4 +1,4 @@
1/* kafsasyncd.c: AFS asynchronous operation daemon 1/* AFS asynchronous operation daemon
2 * 2 *
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. 3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com) 4 * Written by David Howells (dhowells@redhat.com)
@@ -50,7 +50,6 @@ static void kafsasyncd_null_call_error_func(struct rxrpc_call *call)
50{ 50{
51} 51}
52 52
53/*****************************************************************************/
54/* 53/*
55 * start the async daemon 54 * start the async daemon
56 */ 55 */
@@ -65,9 +64,8 @@ int afs_kafsasyncd_start(void)
65 wait_for_completion(&kafsasyncd_alive); 64 wait_for_completion(&kafsasyncd_alive);
66 65
67 return ret; 66 return ret;
68} /* end afs_kafsasyncd_start() */ 67}
69 68
70/*****************************************************************************/
71/* 69/*
72 * stop the async daemon 70 * stop the async daemon
73 */ 71 */
@@ -77,10 +75,8 @@ void afs_kafsasyncd_stop(void)
77 kafsasyncd_die = 1; 75 kafsasyncd_die = 1;
78 wake_up(&kafsasyncd_sleepq); 76 wake_up(&kafsasyncd_sleepq);
79 wait_for_completion(&kafsasyncd_dead); 77 wait_for_completion(&kafsasyncd_dead);
78}
80 79
81} /* end afs_kafsasyncd_stop() */
82
83/*****************************************************************************/
84/* 80/*
85 * probing daemon 81 * probing daemon
86 */ 82 */
@@ -187,10 +183,8 @@ static int kafsasyncd(void *arg)
187 /* and that's all */ 183 /* and that's all */
188 _leave(""); 184 _leave("");
189 complete_and_exit(&kafsasyncd_dead, 0); 185 complete_and_exit(&kafsasyncd_dead, 0);
186}
190 187
191} /* end kafsasyncd() */
192
193/*****************************************************************************/
194/* 188/*
195 * begin an operation 189 * begin an operation
196 * - place operation on busy queue 190 * - place operation on busy queue
@@ -209,9 +203,8 @@ void afs_kafsasyncd_begin_op(struct afs_async_op *op)
209 spin_unlock(&kafsasyncd_async_lock); 203 spin_unlock(&kafsasyncd_async_lock);
210 204
211 _leave(""); 205 _leave("");
212} /* end afs_kafsasyncd_begin_op() */ 206}
213 207
214/*****************************************************************************/
215/* 208/*
216 * request attention for an operation 209 * request attention for an operation
217 * - move to attention queue 210 * - move to attention queue
@@ -229,9 +222,8 @@ void afs_kafsasyncd_attend_op(struct afs_async_op *op)
229 wake_up(&kafsasyncd_sleepq); 222 wake_up(&kafsasyncd_sleepq);
230 223
231 _leave(""); 224 _leave("");
232} /* end afs_kafsasyncd_attend_op() */ 225}
233 226
234/*****************************************************************************/
235/* 227/*
236 * terminate an operation 228 * terminate an operation
237 * - remove from either queue 229 * - remove from either queue
@@ -252,4 +244,4 @@ void afs_kafsasyncd_terminate_op(struct afs_async_op *op)
252 wake_up(&kafsasyncd_sleepq); 244 wake_up(&kafsasyncd_sleepq);
253 245
254 _leave(""); 246 _leave("");
255} /* end afs_kafsasyncd_terminate_op() */ 247}