[PATCH 6.1 057/185] rename(): fix the locking of subdirectories