Commit 8321cf2
fs: btrfs: volumes.c: Fix for possible null pointer dereference
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: Rickard Strandqvist <[email protected]>
Signed-off-by: Chris Mason <[email protected]>1 parent c189544 commit 8321cf2
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | | - | |
| 1693 | + | |
| 1694 | + | |
1694 | 1695 | | |
| 1696 | + | |
1695 | 1697 | | |
1696 | 1698 | | |
1697 | | - | |
1698 | 1699 | | |
1699 | 1700 | | |
1700 | 1701 | | |
| |||
0 commit comments