]> err.no Git - linux-2.6/commit
ocfs2: Use GFP_NOFS in kmalloc during localalloc window move
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 18 Apr 2008 22:03:59 +0000 (15:03 -0700)
committerMark Fasheh <mfasheh@suse.com>
Thu, 1 May 2008 00:09:58 +0000 (17:09 -0700)
commit4ba1c5bfd2e5a6c9528eb7777b66c297e70f61ca
treea06a4587053ce6f999920651880a499c058fd58a
parentbc535809c06ada210d89f5a43b335c68ecbb8e1b
ocfs2: Use GFP_NOFS in kmalloc during localalloc window move

kmalloc() during a localalloc window move can trigger the mm to prune
the dcache which inturn can trigger the fs to delete an inode causing
it start a recursive transaction.

The fix also makes the change in kmalloc during localalloc shutdown
just to be safe.

Fixes oss bugzilla#901
http://oss.oracle.com/bugzilla/show_bug.cgi?id=901

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/localalloc.c