Searched refs:took_snap_rwsem (Results 1 – 1 of 1) sorted by relevance
1578 int took_snap_rwsem = 0; /* true if mdsc->snap_rwsem held */ in ceph_check_caps() local1774 if (took_snap_rwsem) { in ceph_check_caps()1776 took_snap_rwsem = 0; in ceph_check_caps()1783 if (!took_snap_rwsem) { in ceph_check_caps()1789 took_snap_rwsem = 1; in ceph_check_caps()1792 took_snap_rwsem = 1; in ceph_check_caps()1835 if (took_snap_rwsem) in ceph_check_caps()