diff options
| author | David Howells <dhowells@redhat.com> | 2019-07-30 16:38:51 +0300 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2019-07-30 16:38:51 +0300 |
| commit | 37c0bbb3326674940e657118306ac52364314523 (patch) | |
| tree | e982333ec1af00f573c6c8ea739d05ce05935394 /scripts/gcc-plugins/gcc-common.h | |
| parent | a6eed4ab5dd4bfb696c1a3f49742b8d1846a66a0 (diff) | |
| download | linux-37c0bbb3326674940e657118306ac52364314523.tar.xz | |
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: a58823ac4589 ("afs: Fix application of status and callback to be under same lock")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
