Hello. Let's suppose that we have file which consist of two blocks and user resizing file and now we need 4 blocks. Near this two blocks there are no 2 free blocks, and instead of allocating 2 additional blocks somewhere, I want allocate chunk of 4 blocks. The main problem is choose way of invalidate "old" blocks and copy data to new buffers, how it possible on linux? something like struct buffer_head *oldbh, *newbh; memcpy(newbh->b_data, oldbh->b_data); block_invalidatepage(oldbh->b_this_page,...) [ block_invalidatepage right choise ? ] or it is possible just change b_blocknr? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/