diff options
author | Marc Dionne <marc.dionne@auristor.com> | 2022-12-02 10:07:01 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-05-02 17:08:18 +0100 |
commit | d7f74e9a917503ee78f2b603a456d7227cf38919 (patch) | |
tree | 152d13093b4d54be0ff57f29628d4a9e61ff7b8a /kernel/cpu.c | |
parent | 865fdb08197e657c59e74a35fa32362b12397f58 (diff) |
afs: Fix updating of i_size with dv jump from server
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: 3f4aa9818163 ("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
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions