Skip to content
Commit dec7e649 authored by Gen Zhang's avatar Gen Zhang Committed by Mike Snitzer
Browse files

dm init: fix incorrect uses of kstrndup()



Fix 2 kstrndup() calls with incorrect argument order.

Fixes: 6bbc923d ("dm: add support to directly boot to a mapped device")
Cc: stable@vger.kernel.org # v5.1
Signed-off-by: default avatarGen Zhang <blackgod016574@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 9e0babf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment