mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
ceph: don't grabs open file reference for aborted request
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
parent
ab866549b3
commit
4819301287
@ -1112,7 +1112,7 @@ int ceph_fill_trace(struct super_block *sb, struct ceph_mds_request *req,
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user