diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-09-28 07:17:49 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:38 +0200 |
commit | 84de76a2fb217dc1b6bc2965cc397d1648aa1404 (patch) | |
tree | 03c0908b3ed542b43d9d57bf0a5a41db70461403 /net/x25 | |
parent | f45c752b65af46bf42963295c332865d95f97fff (diff) |
btrfs: protect space cache inode alloc with GFP_NOFS
If we're allocating a new space cache inode it's likely going to be
under a transaction handle, so we need to use memalloc_nofs_save() in
order to avoid deadlocks, and more importantly lockdep messages that
make xfstests fail.
CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions