[p->uninc_table.pending_cnt-1];
if (p->uninc_table.pending_cnt >= 1 &&
a->fileaddr+a->cnt == blk->fileaddr &&
+ a->physaddr != 0 &&
a->physaddr+a->cnt == blk->physaddr) {
a->cnt++;
if (test_and_clear_bit(B_UnincCredit, &blk->flags))
*/
return 0;
getref(blk, MKREF(uninc));
- /* FIXME if this block is beyond EOF, we might be about
- * to invalidate it, so putting it on a list is a bad
- * idea. We can just *know* that beyond EOF is
- * truncated and not store the block.... maybe??
- */
+
spin_lock(&blk->inode->i_data.private_lock);
blk->chain = p->uninc_next;
p->uninc_next = blk;