]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix __MAX_CSUM_ITEMS
authorChris Mason <clm@fb.com>
Wed, 3 Aug 2016 21:05:46 +0000 (14:05 -0700)
committerChris Mason <clm@fb.com>
Wed, 3 Aug 2016 21:08:37 +0000 (14:08 -0700)
commitdbc4e002b092492aec4bfbb952a6f3c5eb1abe7e
treed0adda9b536d5c9cd12fcbae46c49569e9123f36
parent03396a3c937fb29c3213c6cee84c1720934a3a41
Btrfs: fix __MAX_CSUM_ITEMS

Jeff Mahoney's cleanup commit (e0986b9df0) wasn't correct for csums on
machines where the pagesize >= metadata blocksize.

This just reverts the relevant hunks to bring the old math back.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/file-item.c