Searched refs:oldrealm (Results 1 – 2 of 2) sorted by relevance
935 struct ceph_snap_realm *oldrealm; in ceph_handle_snap() local963 oldrealm = ci->i_snap_realm; in ceph_handle_snap()964 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()966 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()979 ceph_put_snap_realm(mdsc, oldrealm); in ceph_handle_snap()
709 struct ceph_snap_realm *oldrealm = ci->i_snap_realm; in ceph_add_cap() local710 if (oldrealm) { in ceph_add_cap()711 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()713 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()724 if (oldrealm) in ceph_add_cap()725 ceph_put_snap_realm(mdsc, oldrealm); in ceph_add_cap()