]> git.baikalelectronics.ru Git - kernel.git/commit
zonefs: count pages after truncating the iterator
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 16 Jul 2020 10:37:23 +0000 (19:37 +0900)
committerDamien Le Moal <damien.lemoal@wdc.com>
Mon, 20 Jul 2020 08:59:31 +0000 (17:59 +0900)
commitea00b0703b4ce77583356b94aea95a6206dda1f9
tree8761b40863485b21ffcca680d4427d41f1b6dd4b
parent21551d4283768e2ca929929d8829104ff2dc5be4
zonefs: count pages after truncating the iterator

Count pages after possibly truncating the iterator to the maximum zone
append size, not before.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
fs/zonefs/super.c