Sunil Mushran wrote:
Tao Ma wrote:
I use "i" because I am always worried about if I can't handle the
condition carefully. :( So you think using "i" is not gracefully, or
not easy to understand, or any other reason?
Mostly unnecessary. We are going circular and want to stop
when we reach our slot.
OK, I will use "while".
Another concern, we should stop when we reach the first test one, not
our own slot.
so it should be "while (slot != start_slot)".
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel