commit | 1b17d766463d51904cb242f194a780737e5f73ef | [log] [tgz] |
---|---|---|
author | Felix Blyakher <felixb@sgi.com> | Mon Jun 01 13:13:24 2009 -0500 |
committer | Felix Blyakher <felixb@sgi.com> | Mon Jun 01 22:59:45 2009 -0500 |
tree | 25d43875b8c539d080141479a0695ab1ff24965c | |
parent | e6da7c9fed111ba1243297ee6eda8e24ae11c384 [diff] |
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 <felixb@sgi.com> Signed-off-by: Hedi Berriche <hedi@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>