Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xfs: prevent deadlock in xfs_qm_shake()
It's possible to recurse into filesystem from the memory allocation, which deadlocks in xfs_qm_shake(). Add check for __GFP_FS, and bail out if it is not set. Signed-off-by: Felix Blyakher <[email protected]> Signed-off-by: Hedi Berriche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Felix Blyakher <[email protected]>
- Loading branch information