bcachefs: Fix an assertion in bch2_truncate()
We recently added an assertion that when we truncate a file to 0,
i_blocks should also go to 0 - but that's not necessarily true if we're
doing an emergency shutdown, lots of invariants no longer hold true in
that case.
Signed-off-by:
Kent Overstreet <kent.overstreet@gmail.com>
parent
2a863c6c
Please register or sign in to comment