David Howells <dhowells@xxxxxxxxxx> wrote: > + truncate_inode_pages_range(&target_inode->i_data, destoff, len); That should actually be: truncate_inode_pages_range(&target_inode->i_data, destoff, destoff + len); David
David Howells <dhowells@xxxxxxxxxx> wrote: > + truncate_inode_pages_range(&target_inode->i_data, destoff, len); That should actually be: truncate_inode_pages_range(&target_inode->i_data, destoff, destoff + len); David