Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346558
b: refs/heads/master
c: 1bd58aa
h: refs/heads/master
v: v3
  • Loading branch information
Weston Andros Adamson authored and Trond Myklebust committed Nov 4, 2012
1 parent e368958 commit f334db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f30dfbba1682fde22f5a728f23d97a7a59a39fa0
refs/heads/master: 1bd58aaff44485ec9e3640af350f6ba1b33e2bec
4 changes: 3 additions & 1 deletion trunk/net/sunrpc/svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,9 @@ svc_pool_map_set_cpumask(struct task_struct *task, unsigned int pidx)
* The caller checks for sv_nrpools > 1, which
* implies that we've been initialized.
*/
BUG_ON(m->count == 0);
WARN_ON_ONCE(m->count == 0);
if (m->count == 0)
return;

switch (m->mode) {
case SVC_POOL_PERCPU:
Expand Down

0 comments on commit f334db3

Please sign in to comment.