There is an advice
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
Quoted 2 lines · On Friday January 5, [email protected] wrote:
In the stop function of any level raid device driver such as faulty, multipath, and raidx It would better set the
mddev->privateNULL 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