]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commitfc0e4a314e361af3b13d9320e92c64118f9a3e61
tree5bb9f51968375e5a7e19751da028bb5a8b74c624
parent97d9a8a420444eb5b5c071d4b3b9c4100a7ae015
btrfs: use GFP_NOFS instead of GFP_KERNEL

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>
fs/btrfs/extent-tree.c