public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* linear raid : mddev not protected in linear_add
@ 2009-05-19 12:23 SandeepKsinha
  2009-05-19 22:58 ` Neil Brown
  0 siblings, 1 reply; 4+ messages in thread
From: SandeepKsinha @ 2009-05-19 12:23 UTC (permalink / raw)
  To: Linux RAID

Hi,

In linear_add( ), the mddev is gets changed.
Don't we require to lock/unlock around mddev inorder to avoid races?



-- 
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] 4+ messages in thread

end of thread, other threads:[~2009-05-20 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 12:23 linear raid : mddev not protected in linear_add SandeepKsinha
2009-05-19 22:58 ` Neil Brown
2009-05-20 16:10   ` SandeepKsinha
2009-05-20 22:35     ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox