ANDROID: dm verity fec: add missing release from fec_ktype
Add a release function to allow destroying the dm-verity device. Bug: 27928374 Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Change-Id: Ic0f7c17e4889c5580d70b52d9a709a37165a5747 (cherry picked from commit 0039ccf47c8f99888f7b71b2a36a68a027fbe357)
This commit is contained in:
committed by
Dmitry Shmidt
parent
49029705bc
commit
3278f53e46
@ -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
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user