]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkback: init persistent_purge_work work_struct
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 12 Feb 2014 03:34:03 +0000 (20:34 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 12 Feb 2014 03:34:03 +0000 (20:34 -0700)
commit4235f4ab7867f9829ecf235b8cf3c5d81b628e73
tree3348620a7ab9f4cedee4ecc1bb4a170915ba7a52
parent000d4ba2070b7e7be1ea2fbbad6a7bf6b5f5d1d5
xen-blkback: init persistent_purge_work work_struct

Initialize persistent_purge_work work_struct on xen_blkif_alloc (and
remove the previous initialization done in purge_persistent_gnt). This
prevents flush_work from complaining even if purge_persistent_gnt has
not been used.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c