Message ID | 1396356184-4317-2-git-send-email-zheng.z.yan@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index c9f2567..0b0728e 100644 --- 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) {
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> --- fs/ceph/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)