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>
Tue, 19 Jun 2018 19:41:47 +0000 (15:41 -0400)
commit5fab26800b662b9a52a8109b5c31c6ed0e986431
treeaf05d874663b561f7ae9c1ebacc40b323fcb98de
parent5d1ba86436821d079f07245823909bcf7a1f817f
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.026109 seconds and 4 git commands to generate.