Searched refs:oldrealm (Results 1 – 1 of 1) sorted by relevance
981 struct ceph_snap_realm *oldrealm = ci->i_snap_realm; in ceph_change_snap_realm() local985 if (oldrealm) { in ceph_change_snap_realm()986 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_change_snap_realm()988 if (oldrealm->ino == ci->i_vino.ino) in ceph_change_snap_realm()989 oldrealm->inode = NULL; in ceph_change_snap_realm()990 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_change_snap_realm()991 ceph_put_snap_realm(mdsc, oldrealm); in ceph_change_snap_realm()