From: Michael Jeanson Date: Tue, 11 Feb 2020 19:47:23 +0000 (-0500) Subject: fix: btrfs: make btrfs_ordered_extent naming consistent (v5.6) X-Git-Tag: before-upstreaming~42 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=f7afb954f3908b302f7b3fef1b8195736845c41f;hp=f7afb954f3908b302f7b3fef1b8195736845c41f;p=lttng-modules.git fix: btrfs: make btrfs_ordered_extent naming consistent (v5.6) See upstream commit : commit bffe633e00fb6b904817137fc17a44b42efcd985 Author: Omar Sandoval Date: Mon Dec 2 17:34:19 2019 -0800 btrfs: make btrfs_ordered_extent naming consistent with btrfs_file_extent_item ordered->start, ordered->len, and ordered->disk_len correspond to fi->disk_bytenr, fi->num_bytes, and fi->disk_num_bytes, respectively. It's confusing to translate between the two naming schemes. Since a btrfs_ordered_extent is basically a pending btrfs_file_extent_item, let's make the former use the naming from the latter. Note that I didn't touch the names in tracepoints just in case there are scripts depending on the current naming. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---