Fix online resize of encrypted volumes.
This commit is contained in:
parent
cc8a2558eb
commit
cbe21e7ef9
|
@ -503,6 +503,12 @@ bool luks::resize(Report& report, const QString& deviceNode, qint64 newLength) c
|
|||
return false;
|
||||
}
|
||||
|
||||
bool luks::resizeOnline(Report& report, const QString& deviceNode, const QString& mountPoint, qint64 length) const
|
||||
{
|
||||
Q_UNUSED(mountPoint)
|
||||
return resize(report, deviceNode, length);
|
||||
}
|
||||
|
||||
QString luks::readUUID(const QString& deviceNode) const
|
||||
{
|
||||
QString outerUuid = readOuterUUID(deviceNode);
|
||||
|
|
|
@ -133,6 +133,7 @@ public:
|
|||
QString readUUID(const QString& deviceNode) const override;
|
||||
bool updateUUID(Report& report, const QString& deviceNode) const override;
|
||||
bool resize(Report& report, const QString& deviceNode, qint64 length) const override;
|
||||
bool resizeOnline(Report& report, const QString& deviceNode, const QString& mountPoint, qint64 length) const override;
|
||||
QString readLabel(const QString& deviceNode) const override;
|
||||
bool writeLabel(Report& report, const QString& deviceNode, const QString& newLabel) override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue