summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_fs.h
diff options
context:
space:
mode:
authorFelix Blyakher <felixb@sgi.com>2009-06-01 20:13:24 +0200
committerFelix Blyakher <felixb@sgi.com>2009-06-01 20:13:24 +0200
commit4156e735d3abde8e9243b5d22f7999dd3fffab2e (patch)
treed69552f9eafbe62715366d7c9617259e7eeff672 /fs/xfs/xfs_fs.h
parentxfs: fix overflow in xfs_growfs_data_private (diff)
downloadlinux-4156e735d3abde8e9243b5d22f7999dd3fffab2e.tar.xz
linux-4156e735d3abde8e9243b5d22f7999dd3fffab2e.zip
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>
Diffstat (limited to 'fs/xfs/xfs_fs.h')
0 files changed, 0 insertions, 0 deletions