]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext3: fix wrong gfp type under transaction
authorJosef Bacik <jbacik@redhat.com>
Thu, 20 Mar 2008 00:00:49 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:36 +0000 (18:53 -0700)
commitc587f0c0a69227587baaa12e75815b6644457c0a
tree5ef93bd6d73fdab6084de20988b8934dbc10ae08
parentffda6857c87fbe3ab144ff3f34b89421eed048cf
ext3: fix wrong gfp type under transaction

There are several places where we make allocations with GFP_KERNEL while under
a transaction, which could lead to an assertion panic or lockup if under
memory pressure.  This patch switches these problem areas to use GFP_NOFS to
keep these problems from happening.

Signed-off-by: Josef Bacik <jbacik@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/acl.c
fs/ext3/resize.c
fs/ext3/xattr.c