]> Pileus Git - ~andy/linux/blobdiff - drivers/block/xen-blkfront.c
aoe: for performance support larger packet payloads
[~andy/linux] / drivers / block / xen-blkfront.c
index 2c2d2e5c15974c30755fd61715a189029dff7cd6..007db8986e84d3df91eb0a00707f14d4c02d0ed3 100644 (file)
@@ -670,7 +670,7 @@ static void xlvbd_release_gendisk(struct blkfront_info *info)
        spin_unlock_irqrestore(&info->io_lock, flags);
 
        /* Flush gnttab callback work. Must be done with no locks held. */
-       flush_work_sync(&info->work);
+       flush_work(&info->work);
 
        del_gendisk(info->gd);
 
@@ -719,7 +719,7 @@ static void blkif_free(struct blkfront_info *info, int suspend)
        spin_unlock_irq(&info->io_lock);
 
        /* Flush gnttab callback work. Must be done with no locks held. */
-       flush_work_sync(&info->work);
+       flush_work(&info->work);
 
        /* Free resources associated with old device channel. */
        if (info->ring_ref != GRANT_INVALID_REF) {