summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-03-23 07:35:15 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-23 07:35:15 +0100
commit4ccb6aea4b3eb97c94575d1ed4bf10744169f082 (patch)
treea2ca8bc8b567608bd4067593b752f78c895d713b /drivers/md/dm-crypt.c
parentx86/asm: Optimize clear_page() (diff)
parentmm, swap: Remove WARN_ON_ONCE() in free_swap_slot() (diff)
downloadlinux-4ccb6aea4b3eb97c94575d1ed4bf10744169f082.tar.xz
linux-4ccb6aea4b3eb97c94575d1ed4bf10744169f082.zip
Merge branch 'linus' into x86/asm, to refresh the topic tree with fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r--drivers/md/dm-crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index 1cb2ca9dfae3..389a3637ffcc 100644
--- a/drivers/md/dm-crypt.c
+++ b/drivers/md/dm-crypt.c
@@ -1536,7 +1536,7 @@ static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string
down_read(&key->sem);
- ukp = user_key_payload(key);
+ ukp = user_key_payload_locked(key);
if (!ukp) {
up_read(&key->sem);
key_put(key);