Skip to content
Commit fc0e4a31 authored by Miao Xie's avatar Miao Xie Committed by root
Browse files

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: default avatarMiao Xie <miaox@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 97d9a8a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment