[PATCH 01/20] maccess: unexport probe_kernel_write and probe_user_write

From: Christoph Hellwig
Date: Tue May 19 2020 - 09:45:01 EST


These two functions are not used by any modular code.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
mm/maccess.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/mm/maccess.c b/mm/maccess.c
index 3ca8d97e50106..cf21e604f78cb 100644
--- a/mm/maccess.c
+++ b/mm/maccess.c
@@ -121,7 +121,6 @@ long __probe_kernel_write(void *dst, const void *src, size_t size)

return ret;
}
-EXPORT_SYMBOL_GPL(probe_kernel_write);

/**
* probe_user_write(): safely attempt to write to a user-space location
@@ -148,7 +147,6 @@ long __probe_user_write(void __user *dst, const void *src, size_t size)

return ret;
}
-EXPORT_SYMBOL_GPL(probe_user_write);

/**
* strncpy_from_unsafe: - Copy a NUL terminated string from unsafe address.
--
2.26.2