Index: linux/fs/xfs/linux-2.6/xfs_aops.c =================================================================== --- linux.orig/fs/xfs/linux-2.6/xfs_aops.c 2007-05-22 13:47:40.296829500 +1000 +++ linux/fs/xfs/linux-2.6/xfs_aops.c 2007-05-22 13:48:25.987685000 +1000 @@ -810,7 +810,7 @@ xfs_convert_page( page_dirty--; count++; } else { - type = 0; + type = IOMAP_NEW; if (buffer_mapped(bh) && all_bh && startio) { lock_buffer(bh); xfs_add_to_ioend(inode, bh, offset, @@ -968,7 +968,6 @@ xfs_page_state_convert( bh = head = page_buffers(page); offset = page_offset(page); - iomap_valid = 0; flags = BMAPI_READ; type = IOMAP_NEW;