X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fubifs%2Ffind.c;h=47814cde24076ba1fdd3775824d0bdeda61f79a3;hb=3c1370a3f6ba8e4813269ddbf950d59f997338bc;hp=e045c8b55423e9adc7c312efbd8164f7e3584bc5;hpb=b4df9d88a62c6db4cee0d96507a27527bf205dde;p=linux-2.6-omap-h63xx.git diff --git a/fs/ubifs/find.c b/fs/ubifs/find.c index e045c8b5542..47814cde240 100644 --- a/fs/ubifs/find.c +++ b/fs/ubifs/find.c @@ -507,7 +507,6 @@ int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *free, rsvd_idx_lebs = 0; lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - c->lst.taken_empty_lebs; - ubifs_assert(lebs + c->lst.idx_lebs >= c->min_idx_lebs); if (rsvd_idx_lebs < lebs) /* * OK to allocate an empty LEB, but we still don't want to go