iowatcher: Fix crash due to missing queue action
authorJan Kara <jack@suse.cz>
Tue, 23 Oct 2012 09:05:31 +0000 (11:05 +0200)
committerChris Mason <clm@fb.com>
Wed, 24 Sep 2014 19:02:07 +0000 (12:02 -0700)
commit79d615306f3a4146bb27d59c4b1707907099f669
tree97dafed12b478c760e5bc482fd35e6b19a249223
parent776c17af8515db948e0c8cfcb06291d40f8d7779
iowatcher: Fix crash due to missing queue action

When queue action was missing from a trace, handling of dispatch didn't
quite get things right and crashed due to NULL pointer dereference.
Fix it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
iowatcher/blkparse.c