bcachefs: Change __journal_entry_close() assert to ERO
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Apr 2025 17:38:23 +0000 (13:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Apr 2025 23:41:38 +0000 (19:41 -0400)
commit4c327d03d7c9d5e815a2aada112c442e4a2f8665
tree6fb8109ff83150306045709295e4cc1e67353fb4
parent6468aef231890806ccc4e921b111ff9275880832
bcachefs: Change __journal_entry_close() assert to ERO

We've got some reports of this happening in the wild, and need a bit
more info to debug it:

https://github.com/koverstreet/bcachefs/issues/854
https://www.reddit.com/r/bcachefs/comments/1k28kjm/surprise_soft_lockup/

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