From 8b9451c8d7efecaa69b8ed1cdba924840057b9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Fri, 29 Dec 2017 22:53:02 +0000 Subject: [PATCH] We don't need keyLocation for luks1 file system it is always dm-crypt. --- src/fs/luks.h | 1 - src/fs/luks2.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fs/luks.h b/src/fs/luks.h index 9a6ea4e..9ee8ea4 100644 --- a/src/fs/luks.h +++ b/src/fs/luks.h @@ -188,7 +188,6 @@ public: static bool canEncryptType(FileSystem::Type type); void initLUKS(); - virtual luks::KeyLocation keyLocation() { return luks::dmcrypt; }; bool testPassphrase(const QString& deviceNode, const QString& passphrase) const; protected: diff --git a/src/fs/luks2.h b/src/fs/luks2.h index 9b7ffc1..cb014f8 100644 --- a/src/fs/luks2.h +++ b/src/fs/luks2.h @@ -43,7 +43,7 @@ public: FileSystem::Type type() const override; - luks::KeyLocation keyLocation() override; + luks::KeyLocation keyLocation(); }; }