projects
/
platform
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d1e47
)
[FIX] Loader: dentry get/put balance
author
Alexander Aksenov
<a.aksenov@samsung.com>
Tue, 17 May 2016 15:26:46 +0000
(18:26 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Wed, 18 May 2016 07:54:05 +0000
(
00:54
-0700)
Add putting dentry for already existed binaries in
loader_storage lists.
Change-Id: I6ca2c70dd8128108ef94ac440fd21fd4aff984e0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
loader/loader_storage.c
patch
|
blob
|
history
diff --git
a/loader/loader_storage.c
b/loader/loader_storage.c
index
2a03f31
..
de33076
100644
(file)
--- a/
loader/loader_storage.c
+++ b/
loader/loader_storage.c
@@
-44,7
+44,7
@@
static inline int __add_handler(char *path)
if (__check_dentry_already_exist(dentry)) {
ret = 1;
- goto add_handler_
out
;
+ goto add_handler_
fail_release_dentry
;
}
bin = kmalloc(sizeof(*bin), GFP_KERNEL);