btrfs: use GFP_NOFS instead of GFP_KERNEL
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 24 Mar 2011 11:41:21 +0000 (11:41 +0000)
committerroot <Chris Mason chris.mason@oracle.com>
Mon, 28 Mar 2011 09:37:39 +0000 (05:37 -0400)
In the filesystem context, we must allocate memory by GFP_NOFS,
or we may start another filesystem operation and make kswap thread hang up.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found