mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-19 06:26:28 +00:00
During forced unmount commits abort due to errors and the open transaction is left in a dirty state that is cleaned up by scoutfs_shutdown_trans(). It cleans all the dirty blocks in the commit write context with scoutfs_block_writer_forget_all(), but it forgot to call scoutfs_alloc_prepare_commit() to put the block references held by the allocator. This was generating leaked block warnings during testing that used forced unmount. It wouldn't affect regular operations. Signed-off-by: Zach Brown <zab@versity.com>