OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57ee8e
)
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
Vikram Mulukutla
<markivx@codeaurora.org>
Fri, 28 Oct 2016 21:49:19 +0000
(14:49 -0700)
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
)
Git-commit:
c4d8e3e8d2aa09f5826f517339baa7632f7873ea
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
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
b26809a
..
454535d
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
};
/*