]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: factor out a btrfs_csum_ptr helper
authorChristoph Hellwig <hch@lst.de>
Sun, 22 May 2022 11:47:52 +0000 (13:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:44:34 +0000 (17:44 +0200)
commit7800460387d4382c5cfa666c0fcff24d728d2023
treed793df6d61c2ac270ddf6aa34257d9e1808bd9ee
parent16eb8d7c49bade79192d940d20a4707968746e6a
btrfs: factor out a btrfs_csum_ptr helper

Add a helper to find the csum for a byte offset into the csum buffer.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c