Skip to content

Commit cbe442d

Browse files
authored
Merge pull request ceph#58862 from cbodley/wip-rgw-posix-bucket-cache-lock
rgw/posix: name the lock_guard in BucketCacheEntry::reclaim() Reviewed-by: Daniel Gryniewicz <[email protected]>
2 parents 202258f + ab3d3ac commit cbe442d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/posix/bucket_cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ struct BucketCacheEntry : public cohort::lru::Object
145145
{ /* anon block */
146146
/* in this case, we are being called from a context which holds
147147
* A partition lock, and this may be still in use */
148-
lock_guard{mtx};
148+
auto lock = lock_guard{mtx};
149149
if (! deleted()) {
150150
flags |= FLAG_DELETED;
151151
bc->recycle_count++;

0 commit comments

Comments
 (0)