[PATCH 5.10 036/379] rename(): fix the locking of subdirectories