Searched refs:oldrealm (Results 1 – 2 of 2) sorted by relevance
918 struct ceph_snap_realm *oldrealm; in ceph_handle_snap() local946 oldrealm = ci->i_snap_realm; in ceph_handle_snap()947 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()949 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()962 ceph_put_snap_realm(mdsc, oldrealm); in ceph_handle_snap()
686 struct ceph_snap_realm *oldrealm = ci->i_snap_realm; in ceph_add_cap() local687 if (oldrealm) { in ceph_add_cap()688 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()690 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()701 if (oldrealm) in ceph_add_cap()702 ceph_put_snap_realm(mdsc, oldrealm); in ceph_add_cap()