Re: [Ext2-devel] Ext3 -mm reservations code: is this fix really correct?

Stephen C. Tweedie
2004-10-15T22:22:42Z

Hi,

On Fri, 2004-10-15 at 21:29, mingming cao wrote:

> How about this? Haven't test it, will do it shortly.:)

if ((my_rsv->rsv_start <= group_end_block) &&
- (my_rsv->rsv_end > group_end_block))
+ (my_rsv->rsv_end > group_end_block) &&
+ (start_block <= my_rsv->rsv_start))
return -1;

That new "<=" should be a ">=", shouldn't it?

Otherwise, looks OK.

--Stephen