projects
/
platform
/
core
/
security
/
ode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16bbff0
)
Ext4Engine: Remove unneccesary unmount in decryption
45/116445/2
author
Sungbae Yoo
<sungbae.yoo@samsung.com>
Fri, 24 Feb 2017 09:31:47 +0000
(18:31 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Fri, 24 Feb 2017 09:36:54 +0000
(
01:36
-0800)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I1e5159f97bedbd0b0b5adeab0a0d8ad966032044
server/engine/encryption/ext4-engine.cpp
patch
|
blob
|
history
diff --git
a/server/engine/encryption/ext4-engine.cpp
b/server/engine/encryption/ext4-engine.cpp
index
41e029d
..
4e47551
100644
(file)
--- a/
server/engine/encryption/ext4-engine.cpp
+++ b/
server/engine/encryption/ext4-engine.cpp
@@
-367,10
+367,6
@@
void Ext4Engine::decrypt(const Ext4Engine::data& key, unsigned int options)
throw runtime::Exception("failed get policy");
}
- if (::umount(destination.c_str())) {
- throw runtime::Exception(runtime::GetSystemErrorMessage());
- }
-
runtime::File encrypted(destination + "/" ENCRYPTION_DIR);
unsigned long long totalSize = getUsedSpace(source), current = 0;