aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c
index 2d9088b1bcd9..359805b671b9 100644
--- a/fs/ceph/file.c
+++ b/fs/ceph/file.c
@@ -600,7 +600,7 @@ ceph_sync_direct_write(struct kiocb *iocb, const struct iovec *iov,
600 false); 600 false);
601 if (IS_ERR(req)) { 601 if (IS_ERR(req)) {
602 ret = PTR_ERR(req); 602 ret = PTR_ERR(req);
603 goto out; 603 break;
604 } 604 }
605 605
606 num_pages = calc_pages_for(page_align, len); 606 num_pages = calc_pages_for(page_align, len);
@@ -718,7 +718,7 @@ static ssize_t ceph_sync_write(struct kiocb *iocb, const struct iovec *iov,
718 false); 718 false);
719 if (IS_ERR(req)) { 719 if (IS_ERR(req)) {
720 ret = PTR_ERR(req); 720 ret = PTR_ERR(req);
721 goto out; 721 break;
722 } 722 }
723 723
724 /* 724 /*