aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-05-17 09:47:33 +0000
committerKeith Busch <[email protected]>2019-05-17 17:06:59 +0000
commit100c815cbd56480b3e31518475b04719c363614a (patch)
treea88268d32b052af56875655effd26ee1b34ba41b /arch/powerpc/lib/code-patching.c
parentnvme: Fix known effects (diff)
downloadkernel-100c815cbd56480b3e31518475b04719c363614a.tar.gz
kernel-100c815cbd56480b3e31518475b04719c363614a.zip
nvme: fix srcu locking on error return in nvme_get_ns_from_disk
If we can't get a namespace don't leak the SRCU lock. nvme_ioctl was working around this, but nvme_pr_command wasn't handling this properly. Just do what callers would usually expect. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions