git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: s3c6410: enable ADMA feature in 6410 sdhci controller
[safe/jmp/linux-2.6]
/
fs
/
autofs
/
waitq.c
diff --git
a/fs/autofs/waitq.c
b/fs/autofs/waitq.c
index
19a9caf
..
be46805
100644
(file)
--- a/
fs/autofs/waitq.c
+++ b/
fs/autofs/waitq.c
@@
-182,7
+182,7
@@
int autofs_wait_release(struct autofs_sb_info *sbi, autofs_wqt_t wait_queue_toke
{
struct autofs_wait_queue *wq, **wql;
- for (
wql = &sbi->queues ; (wq = *wql) != 0 ; wql = &wq->next
) {
+ for (
wql = &sbi->queues; (wq = *wql) != NULL; wql = &wq->next
) {
if ( wq->wait_queue_token == wait_queue_token )
break;
}