diff options
author | 2011-07-23 21:09:03 +0400 | |
---|---|---|
committer | 2011-07-23 21:09:03 +0400 | |
commit | 87045b033a62777337ae4aa62834876da09b5fb5 (patch) | |
tree | 26aefd28e436668ff906e42b1e0d75c056e33e01 /lib | |
parent | [SCSI] bnx2i: Fixed kernel panic due to illegal usage of sc->request->cpu (diff) | |
parent | [SCSI] fix crash in scsi_dispatch_cmd() (diff) | |
download | wireguard-linux-87045b033a62777337ae4aa62834876da09b5fb5.tar.xz wireguard-linux-87045b033a62777337ae4aa62834876da09b5fb5.zip |
Merge branch 'scsi-fixes'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debugobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 9d86e45086f5..a78b7c6e042c 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -198,7 +198,7 @@ static void free_object(struct debug_obj *obj) * initialized: */ if (obj_pool_free > ODEBUG_POOL_SIZE && obj_cache) - sched = !work_pending(&debug_obj_work); + sched = keventd_up() && !work_pending(&debug_obj_work); hlist_add_head(&obj->node, &obj_pool); obj_pool_free++; obj_pool_used--; |