diff options
author | Felix Blyakher <felixb@sgi.com> | 2009-06-01 20:13:24 +0200 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-06-02 05:59:45 +0200 |
commit | 1b17d766463d51904cb242f194a780737e5f73ef (patch) | |
tree | 25d43875b8c539d080141479a0695ab1ff24965c /fs/romfs | |
parent | xfs: fix overflow in xfs_growfs_data_private (diff) | |
download | linux-1b17d766463d51904cb242f194a780737e5f73ef.tar.xz linux-1b17d766463d51904cb242f194a780737e5f73ef.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/romfs')
0 files changed, 0 insertions, 0 deletions