diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-01-03 23:39:42 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:52 -0400 |
commit | 46eea9cb9ec14684d1b6e90c17db1ac896f26a5b (patch) | |
tree | f5c97d1335afb29309f659b1eb5715e81d4e555d /fs/bcachefs/lru.h | |
parent | 7ffb6a7ec6712eb1ba84a80137c2f712e67c4171 (diff) |
bcachefs: Fix move_ctxt_wait_event()
We shouldn't be evaluating cond again if it already returned true.
This fixes a bug when this helper is used for taking nocow locks.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.h')
0 files changed, 0 insertions, 0 deletions