]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swapfile.c: fix comments for swapcache_prepare
authorChen Wandun <chenwandun@huawei.com>
Thu, 2 Apr 2020 04:06:07 +0000 (21:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Apr 2020 16:35:27 +0000 (09:35 -0700)
commitfe72e126ccc346df0f6043c4c62529a39499ff1f
tree7eed5d177b2808bb961bc30c92aec6260db72560
parent136e72534e9f0aa7c0524360b77e80480955e30f
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: Chen Wandun <chenwandun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200212145754.27123-1-chenwandun@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swapfile.c