Files
linux/fs/afs
Marc Dionne f1b4681cfa afs: Fix updating of i_size with dv jump from server
[ Upstream commit d7f74e9a91 ]

If the data version returned from the server is larger than expected,
the local data is invalidated, but we may still want to note the remote
file size.

Since we're setting change_size, we have to also set data_changed
for the i_size to get updated.

Fixes: 3f4aa98181 ("afs: Fix EOF corruption")
Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:00:38 +09:00
..
2021-12-22 09:32:45 +01:00
2021-04-23 10:17:28 +01:00
2021-06-15 07:42:26 -07:00
2021-01-24 14:27:20 +01:00
2021-12-22 09:32:45 +01:00