Re: [PATCH 1/3] ext2fs: remove inappropriate assertion

2014-03-24 Thread Samuel Thibault
Justus Winter, le Thu 20 Mar 2014 14:01:18 +0100, a écrit : > find_block may very well return no error but set block to zero. This > indicates that the block in question has not been allocated. Skip > those blocks instead. Mmm, I don't think we want to skip them. AIUI (but don't take my words f

[PATCH 1/3] ext2fs: remove inappropriate assertion

2014-03-20 Thread Justus Winter
find_block may very well return no error but set block to zero. This indicates that the block in question has not been allocated. Skip those blocks instead. * ext2fs/pager.c (file_pager_write_page): Skip unallocated blocks. --- ext2fs/pager.c | 6 -- 1 file changed, 4 insertions(+), 2 delet