projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c5db9
)
ANDROID: dm verity fec: add missing release from fec_ktype
author
Sami Tolvanen
<samitolvanen@google.com>
Fri, 3 Jun 2016 21:22:46 +0000
(14:22 -0700)
committer
Amit Pundir
<amit.pundir@linaro.org>
Thu, 16 Jun 2016 08:15:07 +0000
(13:45 +0530)
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
)
drivers/md/dm-verity-fec.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-verity-fec.c
b/drivers/md/dm-verity-fec.c
index b26809a47ca37ddc50fc2df392c51faa92c1b5b6..454535d23a7f4b5eab481632d643185fbb60cd4d 100644
(file)
--- a/
drivers/md/dm-verity-fec.c
+++ b/
drivers/md/dm-verity-fec.c
@@
-689,7
+689,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
};
/*