diff --git a/drivers/md/dm-verity-fec.c b/drivers/md/dm-verity-fec.c index b1ddd1597474..0d7669cbdd2c 100644 --- a/drivers/md/dm-verity-fec.c +++ b/drivers/md/dm-verity-fec.c @@ -687,7 +687,8 @@ static struct attribute *fec_attrs[] = { static struct kobj_type fec_ktype = { .sysfs_ops = &kobj_sysfs_ops, - .default_attrs = fec_attrs + .default_attrs = fec_attrs, + .release = dm_kobject_release }; /*