Skip to content
Commit 1b17d766 authored by Felix Blyakher's avatar Felix Blyakher
Browse files

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: default avatarFelix Blyakher <felixb@sgi.com>
Signed-off-by: default avatarHedi Berriche <hedi@sgi.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarFelix Blyakher <felixb@sgi.com>
parent e6da7c9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment