[PATCH 4.14 33/36] ubifs: Handle re-linking of inodes correctly while recovery