btrfs: Replace fs_info->submit_workers with btrfs_workqueue.

Much like the fs_info->workers, replace the fs_info->submit_workers
use the same btrfs_workqueue.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Tested-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
This commit is contained in:
Qu Wenruo
2014-02-28 10:46:08 +08:00
committed by Josef Bacik
parent afe3d24267
commit a8c93d4ef6
5 changed files with 18 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ struct btrfs_device {
/* per-device scrub information */
struct scrub_ctx *scrub_device;
struct btrfs_work work;
struct btrfs_work_struct work;
struct rcu_head rcu;
struct work_struct rcu_work;