]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix wrong allocating flag when reading page
authorItaru Kitayama <kitayama@cl.bb4u.ne.jp>
Mon, 25 Apr 2011 23:43:51 +0000 (19:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 25 Apr 2011 23:43:51 +0000 (19:43 -0400)
commite461db79b2c7704a0a3cd2260fe9e568af3af877
treea6064abb7f4a4eecc6c6fbbb37a0a53ede93c979
parent68e57a1ae849193a16aa18d03a1ad17fcfaa5c30
btrfs: fix wrong allocating flag when reading page

the space cache use extent_readpages() to read free space information,
so we can not use GFP_KERNEL flag to allocate memory, or it may lead
to deadlock.

Signed-off-by: Itaru Kitayama <kitayama@cl.bb4u.ne.jp>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c