On Wed, 5 Apr 2000, Erez Zadok wrote: > - if (block_start >= to) > - break; > bh->b_end_io = end_buffer_io_sync; > if (!buffer_mapped(bh)) { > err = get_block(inode, block, bh, 1); And there you go: bloody thing bumps the size of every file to 4k boundary. Which is _not_ going to make fsck[1] happy, since ->i_size is not consistent with the block pointers in inode. get_block() has side effects, damnit. [1] (8), that is.
- Re: __block_prepare_write(): bug? Ion Badulescu
- Re: __block_prepare_write(): bug? Erez Zadok
- Re: __block_prepare_write(): bug? Eric W. Biederman
- Re: __block_prepare_write(): bug? Ion Badulescu
- Re: __block_prepare_write(): bug? Eric W. Biederman
- Re: __block_prepare_write(): bug? Alexander Viro
- Re: __block_prepare_write(): bug? Erez Zadok