]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: clear __GFP_FS flag in the space cache inode
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 31 Mar 2011 09:43:23 +0000 (09:43 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 5 Apr 2011 05:19:43 +0000 (01:19 -0400)
commitbde499758a823859288d60b060b886f5746abf15
treefb9259b9eac14ac950d127faf1788392081010b0
parent60d278a3e5a3c7356afd7ab5c4ea557366854b26
btrfs: clear __GFP_FS flag in the space cache inode

the object id of the space cache inode's key is allocated from the relative
root, just like the regular file. So we can't identify space cache inode by
checking the object id of the inode's key, and we have to clear __GFP_FS flag
at the time we look up the space cache inode.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c