Remove the function btrfs_start_transaction_lflush() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se
---
fs/btrfs/transaction.c |7 ---
fs/btrfs
Remove the function btrfs_reada_detach() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se
---
fs/btrfs/ctree.h |1 -
fs/btrfs/reada.c |9 +
2
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 rickard_strandqv...@spectrumdigital.se
---
fs/btrfs/volumes.c |5 +++--
1 file changed, 3 insertions(+), 2