]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Add a comment for bucket helper types
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 31 Jul 2024 00:35:59 +0000 (20:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 7 Aug 2024 12:31:10 +0000 (08:31 -0400)
commit90b211fa2da3f36939e84b6426988832a62caf4b
tree037c261011f12a3d34af04675d7693582773edda
parent7442b5cdf259e2fb112560904b7002ce48d15578
bcachefs: Add a comment for bucket helper types

We've had bugs in the past with incorrect integer conversions in disk
accounting code, which is why bucket helpers now always return s64s; add
a comment explaining this.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.h