six locks: Fix an unitialized var
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 25 May 2023 22:10:04 +0000 (18:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:02 +0000 (17:10 -0400)
commitc4687a4a7536c3b2139faa63e66afd1d3da5bf15
treef79218272fa1678dbce9404758c706093668da0f
parent96e53e909d0433f73831315b106f16895a74b843
six locks: Fix an unitialized var

In the conversion to atomic_t, six_lock_slowpath() ended up calling
six_lock_wakeup() in the failure path with a state variable that was
never initialized - whoops.

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