dm-crypt: Use common error handling code in crypt_set_keyring_key()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 18 Sep 2024 13:34:45 +0000 (15:34 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 18 Sep 2024 16:17:06 +0000 (18:17 +0200)
commit5d49054ef616095d160c1072ba458e16e2f825de
treea3aa7f133e97a3cb645d39f41a716a9c2499c9db
parentc5391c0e04f1b6ede3623962192b08a4eb224491
dm-crypt: Use common error handling code in crypt_set_keyring_key()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function implementation.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-crypt.c