Searched hist:f094ac32aba3a51c00e970a2ea029339af2ca048 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | transaction.c | diff f094ac32aba3a51c00e970a2ea029339af2ca048 Wed Feb 27 07:28:25 CST 2013 Liu Bo <bo.li.liu@oracle.com> Btrfs: fix NULL pointer after aborting a transaction
While doing cleanup work on an aborted transaction, we've set the global running transaction pointer to NULL _before_ waiting all other transaction handles to finish, so others'd hit NULL pointer crash when referencing the global running transaction pointer.
This first sets a hint to avoid new transaction handle joining, then waits other existing handles to abort or finish so that we can safely set the above global pointer to NULL.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
|