mbox series

[0/3] Misc cosmetic changes for map_private_extent_buffer

Message ID 20181127160010.18123-1-jthumshirn@suse.de (mailing list archive)
Headers show
Series Misc cosmetic changes for map_private_extent_buffer | expand

Message

Johannes Thumshirn Nov. 27, 2018, 4 p.m. UTC
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(-)