]> 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)
commit4920ea0a6cd2cd37129701928e8c144d162d34c8
tree7eed5d177b2808bb961bc30c92aec6260db72560
parent02642ecd6a6a3f11817f4270baa050437db0c794
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