Skip to content
Commit 052bb34a authored by Sage Weil's avatar Sage Weil
Browse files

ceph: add missing locking to protect i_snap_realm_item during split



All ci->i_snap_realm_item/realm->inodes_with_caps manipulation should be
protected by realm->inodes_with_caps_lock.  This bug would have only bit
us in a rare race with a realm split (during some snap creations).

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 978097c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment