Commit c7d7f43a authored by Andrew Morton's avatar Andrew Morton Committed by Jaroslav Kysela

[PATCH] Fix rmap locking for CONFIG_SWAP=n

The pte_chain_unlock() needs to be outside the ifdef.
parent 849696bb
......@@ -282,8 +282,8 @@ shrink_list(struct list_head *page_list, unsigned int gfp_mask,
; /* try to free the page below */
}
}
pte_chain_unlock(page);
#endif /* CONFIG_SWAP */
pte_chain_unlock(page);
/*
* If the page is dirty, only perform writeback if that write
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment