Files
android_kernel_xiaomi_sm8450/fs/xfs/libxfs
Darrick J. Wong 3ecb3ac7b9 xfs: avoid mount-time deadlock in CoW extent recovery
If a malicious user corrupts the refcount btree to cause a cycle between
different levels of the tree, the next mount attempt will deadlock in
the CoW recovery routine while grabbing buffer locks.  We can use the
ability to re-grab a buffer that was previous locked to a transaction to
avoid deadlocks, so do that here.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
2017-05-19 08:12:49 -07:00
..
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2016-12-05 14:40:32 +11:00
2016-07-20 11:48:31 +10:00
2017-04-03 15:18:17 -07:00
2017-04-03 15:18:17 -07:00
2017-04-03 15:18:17 -07:00
2017-01-24 12:23:33 -08:00