--- zzzz-none-000/linux-4.9.218/fs/hfs/dir.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/fs/hfs/dir.c 2023-03-29 10:59:07.000000000 +0000 @@ -169,7 +169,7 @@ * Can be done after the list insertion; exclusion with * hfs_delete_cat() is provided by directory lock. */ - memcpy(&rd->key, &fd.key, sizeof(struct hfs_cat_key)); + memcpy(&rd->key, &fd.key->cat, sizeof(struct hfs_cat_key)); out: hfs_find_exit(&fd); return err;