Home
last modified time | relevance | path

Searched refs:intr_req (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/ceph/
Dlocks.c143 struct ceph_mds_request *intr_req; in ceph_lock_wait_for_completion() local
186 intr_req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETFILELOCK, in ceph_lock_wait_for_completion()
188 if (IS_ERR(intr_req)) in ceph_lock_wait_for_completion()
189 return PTR_ERR(intr_req); in ceph_lock_wait_for_completion()
191 intr_req->r_inode = inode; in ceph_lock_wait_for_completion()
193 intr_req->r_num_caps = 1; in ceph_lock_wait_for_completion()
195 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
196 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
197 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()
199 err = ceph_mdsc_do_request(mdsc, inode, intr_req); in ceph_lock_wait_for_completion()
[all …]