linear RAID

From: SandeepKsinha <hidden>
Date: 2009-12-25 14:14:43

Hi Neil,


  struct linear_private_data
  {
          sector_t                array_sectors;
          dev_info_t              disks[0];
          struct rcu_head         rcu;
  };


linear_conf( ) {

....
 conf = kzalloc (sizeof (*conf) + raid_disks*sizeof(dev_info_t),
                         GFP_KERNEL);

...
}

How do these two go together?

-- 
Regards,
Sandeep.





 	
“To learn is to change. Education is a process that changes the learner.”
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help