Commit b01e4806 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Jiri Slaby
Browse files

fs: btrfs: volumes.c: Fix for possible null pointer dereference



commit 8321cf25 upstream.

There is otherwise a risk of a possible null pointer dereference.

Was largely found by using a static code analysis program called cppcheck.

Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarChris Mason <clm@fb.com>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 2f4f6fcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment