Skip to content

Convert swapon/swapon0{1..3} to the new API

QI Fuli ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libs/libltpswap: Rename and Convert libs/libltpswapon to the new APIinclude/libswap.h libs/libltpswap/Makefile libs/libltpswap/libswap.c+99 -00 replies
2/4syscalls/swapon/swapon01: Convert swapon01 to the new APItestcases/kernel/syscalls/swapon/Makefile testcases/kernel/syscalls/swapon/swapon01.c+22 -650 replies
3/4syscalls/swapon/swapon02: Convert swapon02 to the new APItestcases/kernel/syscalls/swapon/swapon02.c+52 -930 replies
4/4syscalls/swapon/swapon03: Convert swapon03 to the new APItestcases/kernel/syscalls/swapon/swapon03.c+85 -1420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/4] Convert swapon/swapon0{1..3} to the new API

From: QI Fuli <[email protected]>

Convert syscalls/swapon/swapon0{1..3} to the new API

QI Fuli (4):
libs/libltpswap: Rename and Convert libs/libltpswapon to the new API syscalls/swapon/swapon01: Convert swapon01 to the new API syscalls/swapon/swapon02: Convert swapon02 to the new API syscalls/swapon/swapon03: Convert swapon03 to the new API

 include/libswap.h                           |  24 +++
 libs/libltpswap/Makefile                    |  12 ++
 libs/libltpswap/libswap.c                   |  63 ++++++
 testcases/kernel/syscalls/swapon/Makefile   |   4 +-
 testcases/kernel/syscalls/swapon/swapon01.c |  83 ++-----
 testcases/kernel/syscalls/swapon/swapon02.c | 145 +++++--------
 testcases/kernel/syscalls/swapon/swapon03.c | 227 ++++++++------------
 7 files changed, 258 insertions(+), 300 deletions(-)
 create mode 100644 include/libswap.h
 create mode 100644 libs/libltpswap/Makefile
 create mode 100644 libs/libltpswap/libswap.c

--
2.30.2