Ah, I didn't see the caller.
There's still the issue of the missing volatile. It's required to make sure there
is strict ordering between the spinlock acquisition and the increment/decrement.
--
Best regards,
Alex Ionescu
On 2011-06-03, at 4:46 AM, Pierre Schweitzer wrote:
Hi,
The notification routine can change the list, as
there is no lock involved.
List is locked by the caller. Have a look to:
IoRegisterFsRegistrationChange().
Regarding all your remarks: thank you! They have been used to fix code and commited in
r52073.
Regards,
P. Schweitzer
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev