Skip to content
Commit 37c0bbb3 authored by David Howells's avatar David Howells
Browse files

afs: Fix off-by-one in afs_rename() expected data version calculation



When afs_rename() calculates the expected data version of the target
directory in a cross-directory rename, it doesn't increment it as it
should, so it always thinks that the target inode is unexpectedly modified
on the server.

Fixes: a58823ac ("afs: Fix application of status and callback to be under same lock")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent a6eed4ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment