commit ab3f285f227f ("KVM: s390/mm: try a cow on read only pages for
key ops")' misaligned a code block. Let's fixup the indentation.

Reported-by: Ben Hutchings <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
---
 arch/s390/mm/pgtable.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c
index 5404a62..1570dbd 100644
--- a/arch/s390/mm/pgtable.c
+++ b/arch/s390/mm/pgtable.c
@@ -994,13 +994,13 @@ retry:
        }
        if (!(pte_val(*ptep) & _PAGE_INVALID) &&
             (pte_val(*ptep) & _PAGE_PROTECT)) {
-                       pte_unmap_unlock(*ptep, ptl);
-                       if (fixup_user_fault(current, mm, addr, 
FAULT_FLAG_WRITE)) {
-                               up_read(&mm->mmap_sem);
-                               return -EFAULT;
-                       }
-                       goto retry;
+               pte_unmap_unlock(*ptep, ptl);
+               if (fixup_user_fault(current, mm, addr, FAULT_FLAG_WRITE)) {
+                       up_read(&mm->mmap_sem);
+                       return -EFAULT;
                }
+               goto retry;
+       }
 
        new = old = pgste_get_lock(ptep);
        pgste_val(new) &= ~(PGSTE_GR_BIT | PGSTE_GC_BIT |
-- 
1.8.4.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to