[PATCH 6.6 127/331] rename(): fix the locking of subdirectories