projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/fs/ceph/inode.c
b/fs/ceph/inode.c
index c9f25670e3127943c558542847a4d3f84c192816..0b0728e5be2d7cba589a935159b88f9d26f0b2e9 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) {