]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen-blkback: repleace check kthread_should_stop() to remove_requested in xen_blkif_sc...
authorJoe Jin <joe.jin@oracle.com>
Thu, 4 Aug 2011 07:24:44 +0000 (15:24 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 4 Aug 2011 19:30:53 +0000 (15:30 -0400)
commit5d23963bf83f62b4bcb1afcc71d0564728ac5ce4
tree33c05030b1ffd994e7cf2e8c35d1c5e3fbeb35b4
parentc502e5a6372587766c63106b663f613d287d9567
xen-blkback: repleace check kthread_should_stop() to remove_requested in xen_blkif_schedule() loop.

When backend state change to XenbusStateClosed, remove_requested will be set,
so repleace check kthread_should_stop() to remove_requested in
xen_blkif_schedule() loop.

Signed-off-by: Joe Jin <joe.jin@oracle.com>
Cc: Daniel Stodden <daniel.stodden@citrix.com>
Cc: Jens Axboe <jaxboe@fusionio.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Annie Li <annie.li@oracle.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>
--
 drivers/block/xen-blkback/blkback.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c