xen-blkback: init persistent_purge_work work_struct
authorRoger Pau Monne <[email protected]>
Wed, 12 Feb 2014 03:34:03 +0000 (20:34 -0700)
committerJens Axboe <[email protected]>
Wed, 12 Feb 2014 03:34:03 +0000 (20:34 -0700)
commitabb97b8c502a270d59c0c2e1ecea78ad752372ee
tree3348620a7ab9f4cedee4ecc1bb4a170915ba7a52
parent49f5baa5109897b8cee491e8a7c4d74052b6bc1e
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Ă© <[email protected]>
Reviewed-by: David Vrabel <[email protected]>
Tested-by: Sander Eikelenboom <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c