Searched refs:took_snap_rwsem (Results 1 – 1 of 1) sorted by relevance
1528 int took_snap_rwsem = 0; /* true if mdsc->snap_rwsem held */ in ceph_check_caps() local1724 if (took_snap_rwsem) { in ceph_check_caps()1726 took_snap_rwsem = 0; in ceph_check_caps()1733 if (!took_snap_rwsem) { in ceph_check_caps()1739 took_snap_rwsem = 1; in ceph_check_caps()1742 took_snap_rwsem = 1; in ceph_check_caps()1777 if (took_snap_rwsem) in ceph_check_caps()