]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Fix subtraction underflow
authorAlan Huang <mmpgouride@gmail.com>
Mon, 27 Jan 2025 09:12:41 +0000 (17:12 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:12 +0000 (21:02 -0400)
commit7d8321a286de288778e175ea5b967dceaeed9c96
treec3fc8fd1e5521e4f5414c3101cb1698574354b8e
parentf269ae55d2de9c6aff5b289cd94c8eaab7b9b2c3
bcachefs: Fix subtraction underflow

When ancestor is less than IS_ANCESTOR_BITMAP, we would get an incorrect
result.

Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/snapshot.c