linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* There is an advice
@ 2007-01-05  8:11 liyiming
  2007-01-25  3:01 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: liyiming @ 2007-01-05  8:11 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid@vger.kernel.org

In the stop function of any level raid device driver such as faulty, multipath, and raidx
It would better set the mddev->private NULL before free the conf structure. 

 
 				
--------------
liyiming
2007-01-05


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: There is an advice
  2007-01-05  8:11 There is an advice liyiming
@ 2007-01-25  3:01 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2007-01-25  3:01 UTC (permalink / raw)
  To: liyiming; +Cc: linux-raid@vger.kernel.org

On Friday January 5, liyiming@nrchpc.ac.cn wrote:
> In the stop function of any level raid device driver such as faulty, multipath, and raidx
> It would better set the mddev->private NULL before free the conf structure. 

We set it to NULL immediately after the free, and it really doesn't
make any different which order they are done in.

NeilBrown

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-25  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-05  8:11 There is an advice liyiming
2007-01-25  3:01 ` Neil Brown

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).