ANDROID: GKI: set more vfs-only exports into their own namespace
There are more vfs-only symbols that OEMs want to use, so place them in the proper vfs-only namespace. Bug: 157965270 Bug: 210074446 Bug: 227656251 Cc: Matthias Maennich <maennich@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I99b9facc8da45fb329f6627d204180d1f89bcf97
This commit is contained in:
parent
3c06a5ce5e
commit
eff1ffbf0c
@ -1,6 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o
|
obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o
|
||||||
|
|
||||||
|
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=ANDROID_GKI_VFS_EXPORT_ONLY
|
||||||
|
|
||||||
fscrypto-y := crypto.o \
|
fscrypto-y := crypto.o \
|
||||||
fname.o \
|
fname.o \
|
||||||
hkdf.o \
|
hkdf.o \
|
||||||
|
@ -41,7 +41,7 @@ unsigned char fs_ftype_to_dtype(unsigned int filetype)
|
|||||||
|
|
||||||
return fs_dtype_by_ftype[filetype];
|
return fs_dtype_by_ftype[filetype];
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fs_ftype_to_dtype);
|
EXPORT_SYMBOL_NS_GPL(fs_ftype_to_dtype, ANDROID_GKI_VFS_EXPORT_ONLY);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* dirent file type to fs on-disk file type conversion
|
* dirent file type to fs on-disk file type conversion
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
# Makefile for general filesystem caching code
|
# Makefile for general filesystem caching code
|
||||||
#
|
#
|
||||||
|
|
||||||
|
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=ANDROID_GKI_VFS_EXPORT_ONLY
|
||||||
|
|
||||||
fscache-y := \
|
fscache-y := \
|
||||||
cache.o \
|
cache.o \
|
||||||
cookie.o \
|
cookie.o \
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
# Makefile for the linux journaling routines.
|
# Makefile for the linux journaling routines.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=ANDROID_GKI_VFS_EXPORT_ONLY
|
||||||
|
|
||||||
obj-$(CONFIG_JBD2) += jbd2.o
|
obj-$(CONFIG_JBD2) += jbd2.o
|
||||||
|
|
||||||
jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
|
jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=ANDROID_GKI_VFS_EXPORT_ONLY
|
||||||
|
|
||||||
obj-$(CONFIG_FS_VERITY) += enable.o \
|
obj-$(CONFIG_FS_VERITY) += enable.o \
|
||||||
hash_algs.o \
|
hash_algs.o \
|
||||||
init.o \
|
init.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user