David Howells f610a5a29c afs: Fix the nlink handling of dir-over-dir rename
Fix rename of one directory over another such that the nlink on the deleted
directory is cleared to 0 rather than being decremented to 1.

This was causing the generic/035 xfstest to fail.

Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://lore.kernel.org/r/162194384460.3999479.7605572278074191079.stgit@warthog.procyon.org.uk/ # v1
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-27 06:23:58 -10:00
..
2020-10-27 22:05:56 +00:00
2021-04-23 10:17:28 +01:00
2021-05-01 11:55:36 -07:00
2021-05-01 11:55:36 -07:00
2021-04-23 10:17:28 +01:00
2021-04-23 10:17:27 +01:00
2021-01-24 14:27:20 +01:00
2021-05-01 11:55:36 -07:00