aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r--mm/page-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index b9f4c6f1be86..555752907dc3 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -701,7 +701,7 @@ int set_page_dirty_lock(struct page *page)
701{ 701{
702 int ret; 702 int ret;
703 703
704 lock_page(page); 704 lock_page_nosync(page);
705 ret = set_page_dirty(page); 705 ret = set_page_dirty(page);
706 unlock_page(page); 706 unlock_page(page);
707 return ret; 707 return ret;