Lines Matching refs:intr_req
110 struct ceph_mds_request *intr_req; in ceph_lock_wait_for_completion() local
130 intr_req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETFILELOCK, in ceph_lock_wait_for_completion()
132 if (IS_ERR(intr_req)) in ceph_lock_wait_for_completion()
133 return PTR_ERR(intr_req); in ceph_lock_wait_for_completion()
135 intr_req->r_inode = inode; in ceph_lock_wait_for_completion()
137 intr_req->r_num_caps = 1; in ceph_lock_wait_for_completion()
139 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
140 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
141 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()
143 err = ceph_mdsc_do_request(mdsc, inode, intr_req); in ceph_lock_wait_for_completion()
144 ceph_mdsc_put_request(intr_req); in ceph_lock_wait_for_completion()