linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linear RAID
@ 2009-12-25 14:14 SandeepKsinha
  0 siblings, 0 replies; only message in thread
From: SandeepKsinha @ 2009-12-25 14:14 UTC (permalink / raw)
  To: Linux RAID

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-25 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-25 14:14 linear RAID SandeepKsinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).