Re: [PATCH] cifs: Set the file size after doing copychunk_range

From: David Howells
Date: Fri Nov 24 2023 - 18:27:14 EST


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