From 306a82f8f49f302f1442df404b47dd80d63d2936 Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Thu, 9 Jul 2015 21:53:40 +0000 Subject: [PATCH] Rename zfs nvpair files to not colidate with our nvlist. PR: 201356 Approved by: pjd (mentor) --- cddl/lib/libnvpair/Makefile | 6 +++--- .../common/nvpair/{fnvpair.c => opensolaris_fnvpair.c} | 0 .../common/nvpair/{nvpair.c => opensolaris_nvpair.c} | 0 ...vpair_alloc_fixed.c => opensolaris_nvpair_alloc_fixed.c} | 0 sys/conf/files | 6 +++--- sys/modules/zfs/Makefile | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) rename sys/cddl/contrib/opensolaris/common/nvpair/{fnvpair.c => opensolaris_fnvpair.c} (100%) rename sys/cddl/contrib/opensolaris/common/nvpair/{nvpair.c => opensolaris_nvpair.c} (100%) rename sys/cddl/contrib/opensolaris/common/nvpair/{nvpair_alloc_fixed.c => opensolaris_nvpair_alloc_fixed.c} (100%) diff --git a/cddl/lib/libnvpair/Makefile b/cddl/lib/libnvpair/Makefile index 6b6f51d53259..98bdb47a94c1 100644 --- a/cddl/lib/libnvpair/Makefile +++ b/cddl/lib/libnvpair/Makefile @@ -7,10 +7,10 @@ LIB= nvpair SRCS= libnvpair.c \ nvpair_alloc_system.c \ - nvpair_alloc_fixed.c \ - nvpair.c \ nvpair_json.c \ - fnvpair.c + opensolaris_fnvpair.c \ + opensolaris_nvpair.c \ + opensolaris_nvpair_alloc_fixed.c WARNS?= 0 CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include diff --git a/sys/cddl/contrib/opensolaris/common/nvpair/fnvpair.c b/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_fnvpair.c similarity index 100% rename from sys/cddl/contrib/opensolaris/common/nvpair/fnvpair.c rename to sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_fnvpair.c diff --git a/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c b/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c similarity index 100% rename from sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c rename to sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c diff --git a/sys/cddl/contrib/opensolaris/common/nvpair/nvpair_alloc_fixed.c b/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair_alloc_fixed.c similarity index 100% rename from sys/cddl/contrib/opensolaris/common/nvpair/nvpair_alloc_fixed.c rename to sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair_alloc_fixed.c diff --git a/sys/conf/files b/sys/conf/files index bbac01bcbcbd..e2fdfc8664a2 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -125,9 +125,9 @@ cddl/compat/opensolaris/kern/opensolaris_vm.c optional zfs compile-with "${ZF cddl/compat/opensolaris/kern/opensolaris_zone.c optional zfs compile-with "${ZFS_C}" cddl/contrib/opensolaris/common/acl/acl_common.c optional zfs compile-with "${ZFS_C}" cddl/contrib/opensolaris/common/avl/avl.c optional zfs compile-with "${ZFS_C}" -cddl/contrib/opensolaris/common/nvpair/fnvpair.c optional zfs compile-with "${ZFS_C}" -cddl/contrib/opensolaris/common/nvpair/nvpair.c optional zfs compile-with "${ZFS_C}" -cddl/contrib/opensolaris/common/nvpair/nvpair_alloc_fixed.c optional zfs compile-with "${ZFS_C}" +cddl/contrib/opensolaris/common/nvpair/opensolaris_fnvpair.c optional zfs compile-with "${ZFS_C}" +cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c optional zfs compile-with "${ZFS_C}" +cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair_alloc_fixed.c optional zfs compile-with "${ZFS_C}" cddl/contrib/opensolaris/common/unicode/u8_textprep.c optional zfs compile-with "${ZFS_C}" cddl/contrib/opensolaris/common/zfs/zfeature_common.c optional zfs compile-with "${ZFS_C}" cddl/contrib/opensolaris/common/zfs/zfs_comutil.c optional zfs compile-with "${ZFS_C}" diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile index 29f4ae095dfd..05d226c1fb13 100644 --- a/sys/modules/zfs/Makefile +++ b/sys/modules/zfs/Makefile @@ -13,9 +13,9 @@ SRCS+= acl_common.c .PATH: ${SUNW}/common/avl SRCS+= avl.c .PATH: ${SUNW}/common/nvpair -SRCS+= nvpair.c -SRCS+= nvpair_alloc_fixed.c -SRCS+= fnvpair.c +SRCS+= opensolaris_nvpair.c +SRCS+= opensolaris_nvpair_alloc_fixed.c +SRCS+= opensolaris_fnvpair.c .PATH: ${SYSDIR}/cddl/contrib/opensolaris/common/unicode SRCS+= u8_textprep.c