aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2016-03-13 17:29:06 -0400
committerMister Oyster <oysterized@gmail.com>2017-05-29 03:52:18 +0200
commitc1531129a0d0968a47efaa9d8a38d1e89415aa02 (patch)
treecb8f72e62c022f290023d3a921b089262a2da667 /include/linux/fs.h
parent33fef59a4513460715e39066c9abff030ef91809 (diff)
ext4: use __GFP_NOFAIL in ext4_free_blocks()
commit adb7ef600cc9d9d15ecc934cc26af5c1379777df upstream. This might be unexpected but pages allocated for sbi->s_buddy_cache are charged to current memory cgroup. So, GFP_NOFS allocation could fail if current task has been killed by OOM or if current memory cgroup has no free memory left. Block allocator cannot handle such failures here yet. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions