[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH 7/8] scsi_dh: attach to hardware handler from dm-mpath



On Thu, Jul 17, 2008 at 04:53:27PM -0700, Chandra Seetharaman wrote:
> +++ linux-2.6.26-git5/drivers/md/dm-mpath.c
> @@ -147,9 +147,12 @@ static struct priority_group *alloc_prio
>  static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti)
>  {
>  	struct pgpath *pgpath, *tmp;
> +	struct multipath *m = (struct multipath *) ti->private;
  
> @@ -546,6 +549,7 @@ static struct pgpath *parse_path(struct 
>  {
>  	int r;
>  	struct pgpath *p;
> +	struct multipath *m = (struct multipath *) ti->private;
  
FYI We're not writing explicit casts in cases like that in new dm code.

Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]