[PATCH v2 00/29] xfsprogs: Drop the 'platform_' prefix

Pavel Reichl
2021-08-06T21:23:25Z

Stop using commands with 'platform_' prefix. Either use directly linux
standard command or drop the prefix from the function name.

Publicly visible commands with "platform_" prefix are kept for now, but
will be deprecated soon.

Pavel Reichl (29):
xfsprogs: Stop using platform_uuid_compare()
xfsprogs: Stop using platform_test_xfs_fd()
xfsprogs: Stop using platform_test_xfs_path()
xfsprogs: Stop using platform_fstatfs()
xfsprogs: Stop using platform_getoptreset()
xfsprogs: Stop using platform_uuid_copy()
xfsprogs: Stop using platform_uuid_generate()
xfsprogs: Stop using platform_uuid_unparse()
xfsprogs: Stop using platform_uuid_clear()
xfsprogs: Stop using platform_uuid_parse()
xfsprogs: Stop using platform_uuid_is_null()
xfsprogs: Stop using platform_check_mount()
xfsprogs: Stop using platform_check_ismounted()
xfsprogs: Stop using platform_flush_device()
xfsprogs: Stop using platform_mntent_open()
xfsprogs: Stop using platform_mntent_next()
xfsprogs: Stop using platform_mntent_close()
xfsprogs: Stop using platform_findsizes()
xfsprogs: Stop using platform_discard_blocks
xfsprogs: Stop using platform_zero_range()
xfsprogs: Stop using platform_crash()
xfsprogs: Stop using platform_nproc()
xfsprogs: Stop using platform_check_iswritable()
xfsprogs: Stop using platform_set_blocksize()
xfsprogs: Stop using platform_findrawpath()
xfsprogs: Stop using platform_findblockpath()
xfsprogs: Stop using platform_direct_blockdev()
xfsprogs: Stop using platform_align_blockdev()
xfsprogs: Stop using platform_physmem()

copy/xfs_copy.c | 24 ++++-----
db/command.c | 2 +-
db/fprint.c | 2 +-
db/sb.c | 14 +++---
fsr/xfs_fsr.c | 8 +--
growfs/xfs_growfs.c | 2 +-
include/linux.h | 71 ++++++++++++++++++++++----
include/platform_defs.h.in | 1 +
io/init.c | 2 +-
io/open.c | 4 +-
io/stat.c | 2 +-
libfrog/linux.c | 99 ++++++++++++++++++++++++++++++++-----
libfrog/paths.c | 2 +-
libfrog/platform.h | 11 ++++-
libfrog/topology.c | 6 +--
libxcmd/command.c | 2 +-
libxfs/init.c | 32 ++++++------
libxfs/libxfs_io.h | 2 +-
libxfs/libxfs_priv.h | 3 +-
libxfs/rdwr.c | 4 +-
libxfs/xfs_ag.c | 6 +--
libxfs/xfs_attr_leaf.c | 2 +-
libxfs/xfs_attr_remote.c | 2 +-
libxfs/xfs_btree.c | 4 +-
libxfs/xfs_da_btree.c | 2 +-
libxfs/xfs_dir2_block.c | 2 +-
libxfs/xfs_dir2_data.c | 2 +-
libxfs/xfs_dir2_leaf.c | 2 +-
libxfs/xfs_dir2_node.c | 2 +-
libxfs/xfs_dquot_buf.c | 2 +-
libxfs/xfs_ialloc.c | 4 +-
libxfs/xfs_inode_buf.c | 2 +-
libxfs/xfs_sb.c | 6 +--
libxfs/xfs_symlink_remote.c | 2 +-
libxlog/util.c | 8 +--
logprint/log_misc.c | 2 +-
mdrestore/xfs_mdrestore.c | 4 +-
mkfs/xfs_mkfs.c | 22 ++++-----
quota/free.c | 2 +-
repair/agheader.c | 16 +++---
repair/attr_repair.c | 2 +-
repair/dinode.c | 8 +--
repair/phase4.c | 6 +--
repair/phase5.c | 6 +--
repair/phase6.c | 2 +-
repair/prefetch.c | 2 +-
repair/scan.c | 4 +-
repair/slab.c | 2 +-
repair/xfs_repair.c | 6 +--
scrub/disk.c | 8 +--
spaceman/init.c | 2 +-
51 files changed, 284 insertions(+), 151 deletions(-)

--
2.31.1