From: Dmitry Monakhov Date: Tue, 25 Nov 2014 18:08:04 +0000 (-0500) Subject: ext4: cleanup GFP flags inside resize path X-Git-Tag: omap-for-v3.19/fixes-rc1~116^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fdb5543183d027a19805b72025b859af73d0863;p=pandora-kernel.git 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-diff-tree failed