diff options
author | 2010-08-03 12:54:51 +0200 | |
---|---|---|
committer | 2010-08-07 18:53:04 +0200 | |
commit | edca4a380584a65a16839bdee33ec82244f0f88e (patch) | |
tree | f0e24d4712cf98eb5876157ae1f49bebc6d701ef /fs/coda/psdev.c | |
parent | cpqarray: check put_user() result (diff) | |
download | wireguard-linux-edca4a380584a65a16839bdee33ec82244f0f88e.tar.xz wireguard-linux-edca4a380584a65a16839bdee33ec82244f0f88e.zip |
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 <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/coda/psdev.c')
0 files changed, 0 insertions, 0 deletions