bcachefs: Fix spurious transaction restarts

The checks for lock ordering violations weren't quite right.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-11-05 20:49:08 -05:00 • committed by Kent Overstreet
commit 7e7ae6ca57
2 changed files with 26 additions and 15 deletions