]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Fix racy use of jiffies
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 9 Oct 2024 20:53:59 +0000 (16:53 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:13 +0000 (01:36 -0500)
commit135c0c85248a10512a9c5d17dccf65e220398cf4
treea4574235408bde52c833dc5d95b794920f35b052
parent4b8d382b2c896d5338112b681ac11eb6704c7c69
bcachefs: Fix racy use of jiffies

Calculate the timeout, then check if it's positive before calling
schedule_timeout().

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