[PATCH] btrfs: transaction: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] btrfs: reada: Remove unused function

2015-01-03 Thread Rickard Strandqvist
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

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

2014-05-22 Thread Rickard Strandqvist
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