]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: let callers of btrfs_alloc_root pass gfp flags
authorDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 10:01:55 +0000 (11:01 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:19:39 +0000 (15:19 +0100)
commitc32fae796fe822cfeb35c143dcca847cb07179a5
tree431bd5f422a044bd2c74e94c47404ea231796951
parent33cbe0e674b218877ca9e5925542e22519f76b90
btrfs: let callers of btrfs_alloc_root pass gfp flags

We don't need to use GFP_NOFS in all contexts, eg. during mount or for
dummy root tree, but we might for the the log tree creation.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c