path: root/sys/cam/ctl/ctl_backend_block.c
diff options
authorRandall Stewart <rrs@FreeBSD.org>2015-02-12 13:31:08 +0000
committerRandall Stewart <rrs@FreeBSD.org>2015-02-12 13:31:08 +0000
commit66525b2d162286e927cb0db832627aa96e49b3e0 (patch)
tree70980ca030a67d8cfb1a4dfb933357e40a13462e /sys/cam/ctl/ctl_backend_block.c
parentc700f14ce516b9b4dcb89b970dc9c8e6f0bdb9a4 (diff)
This fixes a bug I in-advertantly inserted when I updated the callout
code in my last commit. The cc_exec_next is used to track the next when a direct call is being made from callout. It is *never* used in the in-direct method. When macro-izing I made it so that it would separate out direct/vs/non-direct. This is incorrect and can cause panics as Peter Holm has found for me (Thanks so much Peter for all your help in this). What this change does is restore that behavior but also get rid of the cc_next from the array and instead make it be part of the base callout structure. This way no one else will get confused since we will never use it for non-direct. Reviewed by: Peter Holm and more importantly tested by him ;-) MFC after: 3 days. Sponsored by: Netflix Inc.
Notes: svn path=/head/; revision=278623
Diffstat (limited to 'sys/cam/ctl/ctl_backend_block.c')
0 files changed, 0 insertions, 0 deletions