While trying to understand the checksum code I came across some oddities
regarding map_private_extent_buffer() and it's interaction with
csum_tree_block().
These patches address them but are either purely cosmetic or only add a
comment documenting behaviour.
Johannes Thumshirn (3):
btrfs: don't initialize 'offset' in map_private_extent_buffer()
btrfs: use offset_in_page for start_offset in
map_private_extent_buffer()
btrfs: document extent mapping assumptions in checksum
fs/btrfs/disk-io.c | 6 ++++++
fs/btrfs/extent_io.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
--
2.16.4