From: INSUN PYO Date: Thu, 23 Aug 2018 23:58:09 +0000 (+0900) Subject: Remove unnecessary code. X-Git-Tag: submit/tizen/20181001.080809~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068c5ae3d14d366c84987c2b28bda6a2eb053a79;p=platform%2Fcore%2Fsecurity%2Fode.git Remove unnecessary code. Lazy mount is refactored and no longer need to create /run/.unlock_mnt after mounting /opt/usr. Signed-off-by: INSUN PYO Change-Id: I75bf738ca5783ebd153fe1714a6be83dde9e4b7e --- diff --git a/server/internal-encryption.cpp b/server/internal-encryption.cpp index 744ae85..3bc21b2 100644 --- a/server/internal-encryption.cpp +++ b/server/internal-encryption.cpp @@ -357,8 +357,6 @@ int InternalEncryptionServer::mount() engine->mount(key, getOptions()); server.notify("InternalEncryptionServer::mount"); - - runtime::File("/run/.unlock_mnt").create(O_WRONLY); } catch (runtime::Exception &e) { ERROR(SINK, "Mount failed: " + std::string(e.what())); return error::Unknown;