Re: [PATCH 2/2] btrfs: warn if extent buffer mapping crosses a page boundary in csum_tree_block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 25, 2019 at 02:24:16PM +0100, Johannes Thumshirn wrote:
> Since commit d2e174d5d3ee ("btrfs: document extent mapping assumptions in
> checksum") we have a comment in place why map_private_extent_buffer() 
> can't return 1 in the csum_tree_block() case.
> 
> Make this a bit more explicit and WARN_ON() in case this this assumption
> breaks.
> 
> Signed-off-by: Johannes Thumshirn <jthumshirn@xxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux