[PATCH 5.10 1/2] new helper: inode_wrong_type()