Remove unnecessary code. 24/187524/1
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 23 Aug 2018 23:58:09 +0000 (08:58 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 24 Aug 2018 00:00:41 +0000 (09:00 +0900)
Lazy mount is refactored and no longer need to create /run/.unlock_mnt after mounting /opt/usr.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I75bf738ca5783ebd153fe1714a6be83dde9e4b7e

server/internal-encryption.cpp

index 744ae85..3bc21b2 100644 (file)
@@ -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;