aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c
index 7c85ddef68ab..eb9028e8cfc5 100644
--- a/fs/ceph/file.c
+++ b/fs/ceph/file.c
@@ -716,7 +716,6 @@ static void ceph_aio_retry_work(struct work_struct *work)
716 ceph_osdc_build_request(req, req->r_ops[0].extent.offset, 716 ceph_osdc_build_request(req, req->r_ops[0].extent.offset,
717 snapc, CEPH_NOSNAP, &aio_req->mtime); 717 snapc, CEPH_NOSNAP, &aio_req->mtime);
718 718
719 ceph_put_snap_context(snapc);
720 ceph_osdc_put_request(orig_req); 719 ceph_osdc_put_request(orig_req);
721 720
722 req->r_callback = ceph_aio_complete_req; 721 req->r_callback = ceph_aio_complete_req;
@@ -731,6 +730,7 @@ out:
731 ceph_aio_complete_req(req, NULL); 730 ceph_aio_complete_req(req, NULL);
732 } 731 }
733 732
733 ceph_put_snap_context(snapc);
734 kfree(aio_work); 734 kfree(aio_work);
735} 735}
736 736