Re: [PATCH] IPC: fix error case when idr-cache is empty in ipcget()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nadia Derbey
Date: Wednesday, October 10, 2007 - 11:58 pm

Pierre Peiffer wrote:

Pierre,

I agree with everythying, but not on idr_pre_get() failure: I think we 
should give up in that case: the tests on idr_pre_get() return code 
should remain IMHO (see after).




ops->getnew will call idr_get_new() that should not be called if 
idr_pre_get() has failed. So I think that we should give up if 
idr_pre_get() fails and the test on idr_pre_get() return code should not 
be removed.


Same remark as above:
ops->getnew will call idr_get_new() that should not be called if 
idr_pre_get() has failed. So I think that we should give up if 
idr_pre_get() fails and this this test should not be removed.


Regards,
Nadia




-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] IPC: fix error case when idr-cache is empty in ..., Nadia Derbey, (Wed Oct 10, 11:58 pm)