projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab86654
)
ceph: don't grabs open file reference for aborted request
author
Yan, Zheng
<zheng.z.yan@intel.com>
Tue, 1 Apr 2014 12:34:18 +0000
(20:34 +0800)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:25 +0000
(21:08 -0700)
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/inode.c
patch
|
blob
|
history
diff --git
a/fs/ceph/inode.c
b/fs/ceph/inode.c
index
c9f2567
..
0b0728e
100644
(file)
--- a/
fs/ceph/inode.c
+++ b/
fs/ceph/inode.c
@@
-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) {