[GFS2] fix GFP_KERNEL misuses
commit16c5f06f15ad4e5a5d6e90b78ffb1ac14319e445
authorJosef Bacik <jbacik@redhat.com>
Wed, 9 Apr 2008 13:33:41 +0000 (9 09:33 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 10 Apr 2008 08:55:26 +0000 (10 09:55 +0100)
tree84204e44e0246e9a3f4db23223a5209105fde368
parent773adff8e983cba1f5844c3be3be224ca6645f26
[GFS2] fix GFP_KERNEL misuses

There are several places where GFP_KERNEL allocations happen under a glock,
which will result in hangs if we're under memory pressure and go to re-enter the
fs in order to flush stuff out.  This patch changes the culprits to GFS_NOFS to
keep this problem from happening.  Thank you,

Signed-off-by: Josef Bacik <jbacik@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/acl.c
fs/gfs2/dir.c
fs/gfs2/eattr.c
fs/gfs2/inode.c
fs/gfs2/locking/dlm/lock.c
fs/gfs2/locking/nolock/main.c
fs/gfs2/quota.c
fs/gfs2/recovery.c
fs/gfs2/super.c