It's really not needed: the only locks used here are the btree cache
lock, which we drop for GFP_WAIT allocations, and btree node locks - but
we also drop those for GFP_WAIT allocations.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
                : &bc->freed_nonpcpu;
        struct btree *b, *b2;
        u64 start_time = local_clock();
-       unsigned flags;
 
-       flags = memalloc_nofs_save();
        mutex_lock(&bc->lock);
 
        /*
        bch2_time_stats_update(&c->times[BCH_TIME_btree_node_mem_alloc],
                               start_time);
 
-       memalloc_nofs_restore(flags);
-
        int ret = bch2_trans_relock(trans);
        if (unlikely(ret)) {
                bch2_btree_node_to_freelist(c, b);
        }
 
        mutex_unlock(&bc->lock);
-       memalloc_nofs_restore(flags);
        return ERR_PTR(-BCH_ERR_ENOMEM_btree_node_mem_alloc);
 }