From 4fdb5543183d027a19805b72025b859af73d0863 Mon Sep 17 00:00:00 2001 From: Dmitry Monakhov Date: Tue, 25 Nov 2014 13:08:04 -0500 Subject: [PATCH] ext4: cleanup GFP flags inside resize path We must use GFP_NOFS instead GFP_KERNEL inside ext4_mb_add_groupinfo and ext4_calculate_overhead() because they are called from inside a journal transaction. Call trace: ioctl ->ext4_group_add ->journal_start ->ext4_setup_new_descs ->ext4_mb_add_groupinfo -> GFP_KERNEL ->ext4_flex_group_add ->ext4_update_super ->ext4_calculate_overhead -> GFP_KERNEL ->journal_stop Signed-off-by: Dmitry Monakhov Signed-off-by: Theodore Ts'o --- Reading git-format-patch failed