Skip to content
Commit 3eeba135 authored by Chen Wandun's avatar Chen Wandun Committed by Linus Torvalds
Browse files

mm/swapfile.c: fix comments for swapcache_prepare



The -EEXIST returned by __swap_duplicate means there is a swap cache
instead -EBUSY

Signed-off-by: default avatarChen Wandun <chenwandun@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200212145754.27123-1-chenwandun@huawei.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent df3a0a21
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