aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 4f34dbae823d..f7d48a08f443 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1525,8 +1525,7 @@ static int ubifs_vm_page_mkwrite(struct vm_area_struct *vma,
1525 } 1525 }
1526 1526
1527 wait_for_stable_page(page); 1527 wait_for_stable_page(page);
1528 unlock_page(page); 1528 return VM_FAULT_LOCKED;
1529 return 0;
1530 1529
1531out_unlock: 1530out_unlock:
1532 unlock_page(page); 1531 unlock_page(page);