Re: [PATCH] ext3: ext3_symlink should use GFP_NOFS allocations inside

From: Al Viro
Date: Thu Mar 09 2006 - 16:02:16 EST


On Thu, Mar 09, 2006 at 08:19:15PM +0300, Kirill Korotaev wrote:
> This patch fixes illegal __GFP_FS allocation inside ext3
> transaction in ext3_symlink().
> Such allocation may re-enter ext3 code from
> try_to_free_pages. But JBD/ext3 code keeps a pointer to current
> journal handle in task_struct and, hence, is not reentrable.

New helper, please.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/