mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
bcachefs: Fix missing memalloc_nofs_restore()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
f526d26d71
commit
e648448ca5
|
|
@ -329,9 +329,9 @@ static unsigned long bch2_btree_cache_scan(struct shrinker *shrink,
|
|||
clear_btree_node_accessed(b);
|
||||
}
|
||||
|
||||
memalloc_nofs_restore(flags);
|
||||
mutex_unlock(&bc->lock);
|
||||
out:
|
||||
memalloc_nofs_restore(flags);
|
||||
return (unsigned long) freed * btree_pages(c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user