[Ocfs2-devel] [PATCH 3/3] Add inode stealing for ocfs2_reserve_new_inode.V3

Tao Ma tao.ma at oracle.com
Mon Mar 3 19:20:53 PST 2008



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



More information about the Ocfs2-devel mailing list