commit | 9e532772b4e36888584efc7a9531143bd43355b3 | [log] [tgz] |
---|---|---|
author | David Gstir <david@sigma-star.at> | Tue Dec 06 23:53:54 2016 +0100 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Dec 11 16:26:11 2016 -0500 |
tree | e4e9e4f064c79751cfcd8cb820e985474ff81109 | |
parent | e550c16c8aab95c7996b0c864d5fcedc2c430a43 [diff] |
fscrypt: Never allocate fscrypt_ctx on in-place encryption In case of in-place encryption fscrypt_ctx was allocated but never released. Since we don't need it for in-place encryption, we skip allocating it. Fixes: 1c7dcf69eea3 ("fscrypt: Add in-place encryption mode") Signed-off-by: David Gstir <david@sigma-star.at> Signed-off-by: Theodore Ts'o <tytso@mit.edu>