cfq-iosched: Do not access cfqq after freeing it
authorVivek Goyal <vgoyal@redhat.com>
Mon, 7 Dec 2009 18:37:15 +0000 (19:37 +0100)
committerJens Axboe <axboe@carl.(none)>
Mon, 7 Dec 2009 18:37:15 +0000 (19:37 +0100)
commit878eaddd05d251cefa9632c2b8046833c5eead66
treea5bf9b6c1856969ff7a7cd0d676ea2b419072103
parentaccee7854b378a8ab5995d8f5dc5d8abc3b3d23a
cfq-iosched: Do not access cfqq after freeing it

Fix a crash during boot reported by Jeff Moyer. Fix the issue of accessing
cfqq after freeing it.

Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@carl.(none)>
block/cfq-iosched.c