Home
last modified time | relevance | path

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

/fs/ceph/
Dlocks.c147 struct ceph_mds_request *intr_req; in ceph_lock_wait_for_completion() local
190 intr_req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETFILELOCK, in ceph_lock_wait_for_completion()
192 if (IS_ERR(intr_req)) in ceph_lock_wait_for_completion()
193 return PTR_ERR(intr_req); in ceph_lock_wait_for_completion()
195 intr_req->r_inode = inode; in ceph_lock_wait_for_completion()
197 intr_req->r_num_caps = 1; in ceph_lock_wait_for_completion()
199 intr_req->r_args.filelock_change = req->r_args.filelock_change; in ceph_lock_wait_for_completion()
200 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
201 intr_req->r_args.filelock_change.type = CEPH_LOCK_UNLOCK; in ceph_lock_wait_for_completion()
203 err = ceph_mdsc_do_request(mdsc, inode, intr_req); in ceph_lock_wait_for_completion()
[all …]