btrfs: use GFP_KERNEL in btrfs_calc_avail_data_space
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Jun 2017 13:04:04 +0000 (15:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:04 +0000 (18:26 +0200)
commit6a44517d79a394b7f317d782ed47fd4c4bccf7e8
tree00bbe4191bba0c5f182529c62348126239695435
parent0eee8a494e786672c57d86c445e24e678d562bf4
btrfs: use GFP_KERNEL in btrfs_calc_avail_data_space

We don't hold any locks here. Inidirectly called from statfs.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c