Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48193012 authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil
Browse files

ceph: don't grabs open file reference for aborted request

parent ab866549
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1112,7 +1112,7 @@ retry_lookup:

		err = fill_inode(in, &rinfo->targeti, NULL,
				session, req->r_request_started,
				(le32_to_cpu(rinfo->head->result) == 0) ?
				(!req->r_aborted && rinfo->head->result == 0) ?
				req->r_fmode : -1,
				&req->r_caps_reservation);
		if (err < 0) {