<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Li Wang,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 26, 2021, at 18:01, Li Wang <<a href="mailto:liwang@redhat.com" class="">liwang@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size: small;">Hi Fuli,</div><div class="gmail_default" style="font-size: small;"><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 26, 2021 at 2:20 AM QI Fuli <<a href="mailto:fukuri.sai@gmail.com" class="">fukuri.sai@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">From: QI Fuli <<a href="mailto:qi.fuli@fujitsu.com" target="_blank" class="">qi.fuli@fujitsu.com</a>><br class=""><br class="">Convert syscalls/swapon/swapon0{1..3} to the new API<br class=""><br class="">QI Fuli (4):<br class=""> <span class="Apple-converted-space"> </span>libs/libltpswap: Rename and Convert libs/libltpswapon to the new API<br class=""></blockquote><div class=""><br class=""></div><div class=""><div class="gmail_default" style="font-size: small;">I appreciate your help to convert the libltpswapon to the new API, but at</div><div class="gmail_default" style="font-size: small;">the first sight of your patchset, I was quite curious why not complete the</div><div class="gmail_default" style="font-size: small;">leftover two test swapoff/ to new then we can remove the old API totally.</div></div><div class="gmail_default" style="font-size: small;"><br class=""></div><div class="gmail_default" style="font-size: small;">So in other words, it probably makes people confusing that there exist </div><div class="gmail_default" style="font-size: small;">libltpswap/ and libltpswapon/ at the same time. </div><div class="gmail_default" style="font-size: small;"><br class=""></div><div class="gmail_default" style="font-size: small;">Could you help finish the rest work? :)</div></div></div></div></blockquote><div><br class=""></div>Thanks for your comments.</div><div><br class=""></div><div>Yes, I will make a patchset to convert the swapoff/ and to remove the libltpswapon/.</div><div><br class=""></div><div>Best,</div><div>QI</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_quote"><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"> <span class="Apple-converted-space"> </span>syscalls/swapon/swapon01: Convert swapon01 to the new API<br class=""> <span class="Apple-converted-space"> </span>syscalls/swapon/swapon02: Convert swapon02 to the new API<br class=""> <span class="Apple-converted-space"> </span>syscalls/swapon/swapon03: Convert swapon03 to the new API<br class=""><br class=""> include/libswap.h | 24 +++<br class=""> libs/libltpswap/Makefile | 12 ++<br class=""> libs/libltpswap/libswap.c | 63 ++++++<br class=""> testcases/kernel/syscalls/swapon/Makefile | 4 +-<br class=""> testcases/kernel/syscalls/swapon/swapon01.c | 83 ++-----<br class=""> testcases/kernel/syscalls/swapon/swapon02.c | 145 +++++--------<br class=""> testcases/kernel/syscalls/swapon/swapon03.c | 227 ++++++++------------<br class=""> 7 files changed, 258 insertions(+), 300 deletions(-)<br class=""> create mode 100644 include/libswap.h<br class=""> create mode 100644 libs/libltpswap/Makefile<br class=""> create mode 100644 libs/libltpswap/libswap.c<br class=""><br class="">--<br class="">2.30.2<br class=""><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">Mailing list info:<span class="Apple-converted-space"> </span><a href="https://lists.linux.it/listinfo/ltp" rel="noreferrer" target="_blank" class="">https://lists.linux.it/listinfo/ltp</a><br class=""><br class=""></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class="">Regards,<br class=""></div><div class="">Li Wang</div></div></div></div></div></blockquote></div><br class=""></body></html>