Fix: btrfs: Remove unnecessary fs_info parameter
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 18 Jun 2018 18:53:19 +0000 (14:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 18 Jun 2018 19:12:24 +0000 (15:12 -0400)
commit51ab0b1da29354375a19f865abcd233dd2178295
tree5cf43acf61b173ed6611d4c4fbe4453ea78074ab
parent354b979009cacb3acd9e669b13d168aeeb3202fa
Fix: btrfs: Remove unnecessary fs_info parameter

See upstream commit:

  commit 3dca5c942dac60164e6a6e89172f25b86af07ce7
  Author: Qu Wenruo <wqu@suse.com>
  Date:   Thu Apr 26 14:24:25 2018 +0800

    btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class

    fs_info can be extracted from btrfs_block_group_cache, and all
    btrfs_block_group_cache is created by btrfs_create_block_group_cache()
    with fs_info initialized, no need to worry about NULL pointer
    dereference.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/btrfs.h
This page took 0.026405 seconds and 4 git commands to generate.