Btrfs: fix wrong mapping flags for free space inode
authorFilipe Manana <fdmanana@suse.com>
Wed, 6 May 2015 10:17:01 +0000 (11:17 +0100)
committerChris Mason <clm@fb.com>
Thu, 7 May 2015 00:06:13 +0000 (17:06 -0700)
commit1d3c61c2eb3fe4f96d3192212f1bdcee49ea55aa
tree7b62fd2634899a4d6a3bf56a626128f682fda3ae
parent5d2361db48899789fb466ff62db5d5fc7b070e86
Btrfs: fix wrong mapping flags for free space inode

We were passing a flags value that differed from the intention in commit
2b108268006e ("Btrfs: don't use highmem for free space cache pages").

This caused problems in a ARM machine, leaving btrfs unusable there.

Reported-by: Merlijn Wajer <merlijn@wizzup.org>
Tested-by: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/free-space-cache.c