projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proc: export a processes resource limits via /proc/pid
[powerpc.git]
/
fs
/
autofs4
/
waitq.c
diff --git
a/fs/autofs4/waitq.c
b/fs/autofs4/waitq.c
index
0d041a9
..
1fe28e4
100644
(file)
--- a/
fs/autofs4/waitq.c
+++ b/
fs/autofs4/waitq.c
@@
-376,7
+376,7
@@
int autofs4_wait_release(struct autofs_sb_info *sbi, autofs_wqt_t wait_queue_tok
struct autofs_wait_queue *wq, **wql;
mutex_lock(&sbi->wq_mutex);
struct autofs_wait_queue *wq, **wql;
mutex_lock(&sbi->wq_mutex);
- 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;
}
if (wq->wait_queue_token == wait_queue_token)
break;
}