diff options
| author | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
| commit | 79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch) | |
| tree | 5e0fa7156acb75ba603022bc807df8f2fedb97a8 /drivers/md/dm-raid.c | |
| parent | 721b51fcf91898299d96f4b72cb9434cda29dce6 (diff) | |
| parent | 8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff) | |
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
Diffstat (limited to 'drivers/md/dm-raid.c')
| -rw-r--r-- | drivers/md/dm-raid.c | 19 | 
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c index 2daa67793511..97e165183e79 100644 --- a/drivers/md/dm-raid.c +++ b/drivers/md/dm-raid.c @@ -1717,24 +1717,6 @@ static void raid_resume(struct dm_target *ti)  	mddev_resume(&rs->md);  } -static int raid_merge(struct dm_target *ti, struct bvec_merge_data *bvm, -		      struct bio_vec *biovec, int max_size) -{ -	struct raid_set *rs = ti->private; -	struct md_personality *pers = rs->md.pers; - -	if (pers && pers->mergeable_bvec) -		return min(max_size, pers->mergeable_bvec(&rs->md, bvm, biovec)); - -	/* -	 * In case we can't request the personality because -	 * the raid set is not running yet -	 * -	 * -> return safe minimum -	 */ -	return rs->md.chunk_sectors; -} -  static struct target_type raid_target = {  	.name = "raid",  	.version = {1, 7, 0}, @@ -1749,7 +1731,6 @@ static struct target_type raid_target = {  	.presuspend = raid_presuspend,  	.postsuspend = raid_postsuspend,  	.resume = raid_resume, -	.merge = raid_merge,  };  static int __init dm_raid_init(void)  |