mirror of
https://github.com/ceph/ceph
synced 2024-12-24 20:33:27 +00:00
common/shared_cache.hpp: fix set_size()
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
17a6e7faa7
commit
ca28d87ef2
@ -101,7 +101,7 @@ public:
|
||||
{
|
||||
Mutex::Locker l(lock);
|
||||
max_size = new_size;
|
||||
trim_cache(to_release);
|
||||
trim_cache(&to_release);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user