diff options
| author | Felix Blyakher <[email protected]> | 2009-06-01 13:13:24 -0500 |
|---|---|---|
| committer | Felix Blyakher <[email protected]> | 2009-06-01 13:13:24 -0500 |
| commit | 4156e735d3abde8e9243b5d22f7999dd3fffab2e (patch) | |
| tree | d69552f9eafbe62715366d7c9617259e7eeff672 /net/unix/garbage.c | |
| parent | 096324873f9c7172a17aff9db1356f4f01b77afe (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 <[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]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions