Fix: block_len removed frmo btrfs_get_extent in 6.11-rc1
authorKienan Stewart <kstewart@efficios.com>
Mon, 29 Jul 2024 14:12:47 +0000 (14:12 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 26 Aug 2024 17:27:32 +0000 (13:27 -0400)
commit47c745fc559b8de1a92cec65f7d9bbe4691a6288
tree9ea96ee30c6b4d6cda29e10b10a84e8721aeaf01
parent6788a8bb023c406ccf1e19ae6d49ea8b4229b574
Fix: block_len removed frmo btrfs_get_extent in 6.11-rc1

See upstream commit:

    commit e28b851ed9b232c3b84cb8d0fedbdfa8ca881386
    Author: Qu Wenruo <wqu@suse.com>
    Date:   Tue Apr 30 07:53:05 2024 +0930

        btrfs: remove extent_map::block_len member

        The extent_map::block_len is either extent_map::len (non-compressed
        extent) or extent_map::disk_num_bytes (compressed extent).

        Since we already have sanity checks to do the cross-checks between the
        new and old members, we can drop the old extent_map::block_len now.

        For most call sites, they can manually select extent_map::len or
        extent_map::disk_num_bytes, since most if not all of them have checked
        if the extent is compressed.

Change-Id: Ib03fc685b4e876bf4e53afdd28ca9826342a0e4e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/btrfs.h
This page took 0.026721 seconds and 4 git commands to generate.