diff options
| author | Mike Snitzer <[email protected]> | 2010-08-03 12:54:51 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2010-08-07 18:53:04 +0200 |
| commit | edca4a380584a65a16839bdee33ec82244f0f88e (patch) | |
| tree | f0e24d4712cf98eb5876157ae1f49bebc6d701ef /net/unix/af_unix.c | |
| parent | f6c4c8e19a087dae7dc651ccbd1ff8b843eedee2 (diff) | |
block: disallow FS recursion from sb_issue_discard allocation
Filesystems can call sb_issue_discard on a memory reclaim path
(e.g. ext4 calls sb_issue_discard during journal commit).
Use GFP_NOFS in sb_issue_discard to avoid recursing back into the FS.
Reported-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions