Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346567
b: refs/heads/master
c: 2bd4eef
h: refs/heads/master
i:
  346565: 78b4839
  346563: 733c025
  346559: 23d1d70
v: v3
  • Loading branch information
Weston Andros Adamson authored and Trond Myklebust committed Nov 4, 2012
1 parent c8c2e53 commit 0ca553b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: f50ad42837eb874c1a0cd7cca2001364b06f7ac4
refs/heads/master: 2bd4eef87bc169f1baf5d1518ba939897cc32471
8 changes: 6 additions & 2 deletions trunk/net/sunrpc/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ static void __rpc_add_wait_queue(struct rpc_wait_queue *queue,
struct rpc_task *task,
unsigned char queue_priority)
{
BUG_ON (RPC_IS_QUEUED(task));
WARN_ON_ONCE(RPC_IS_QUEUED(task));
if (RPC_IS_QUEUED(task))
return;

if (RPC_IS_PRIORITY(queue))
__rpc_add_wait_queue_priority(queue, task, queue_priority);
Expand Down Expand Up @@ -707,7 +709,9 @@ static void __rpc_execute(struct rpc_task *task)
dprintk("RPC: %5u __rpc_execute flags=0x%x\n",
task->tk_pid, task->tk_flags);

BUG_ON(RPC_IS_QUEUED(task));
WARN_ON_ONCE(RPC_IS_QUEUED(task));
if (RPC_IS_QUEUED(task))
return;

for (;;) {
void (*do_action)(struct rpc_task *);
Expand Down

0 comments on commit 0ca553b

Please sign in to comment.