ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp
authorNikolay Borisov <kernel@kyup.com>
Thu, 2 Jul 2015 05:34:07 +0000 (01:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 Jul 2015 05:34:07 +0000 (01:34 -0400)
commitc45653c341f5c8a0ce19c8f0ad4678640849cb86
treed57e0b0ba55d14ceb27aa7b2831341e68a5deeca
parentbd7ade3cd9b0850264306f5c2b79024a417b6396
ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp

Switch ext4 to using sb_getblk_gfp with GFP_NOFS added to fix possible
deadlocks in the page writeback path.

Signed-off-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/extents.c