diff options
author | Michal Hocko <mhocko@suse.cz> | 2015-07-05 12:33:44 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-07-05 12:33:44 -0400 |
commit | 7444a072c387a93ebee7066e8aee776954ab0e41 (patch) | |
tree | 4f8dfad9045bc662071717b477958efb2a43d328 /net/sched | |
parent | 8974fec7d72e3e02752fe0f27b4c3719c78d9a15 (diff) | |
download | lwn-7444a072c387a93ebee7066e8aee776954ab0e41.tar.gz lwn-7444a072c387a93ebee7066e8aee776954ab0e41.zip |
ext4: replace open coded nofail allocation in ext4_free_blocks()
ext4_free_blocks is looping around the allocation request and mimics
__GFP_NOFAIL behavior without any allocation fallback strategy. Let's
remove the open coded loop and replace it with __GFP_NOFAIL. Without the
flag the allocator has no way to find out never-fail requirement and
cannot help in any way.
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions