acl: make vfs_posix_acl_to_xattr() static
After reworking posix acls this helper isn't used anywhere outside the core
posix acl paths. Make it static.
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
diff --git a/fs/posix_acl.c b/fs/posix_acl.c
index acb7f7d..989bbf2 100644
--- a/fs/posix_acl.c
+++ b/fs/posix_acl.c
@@ -884,9 +884,10 @@ EXPORT_SYMBOL (posix_acl_to_xattr);
* Return: On success, the size of the stored uapi posix acls, on error a
* negative errno.
*/
-ssize_t vfs_posix_acl_to_xattr(struct user_namespace *mnt_userns,
- struct inode *inode, const struct posix_acl *acl,
- void *buffer, size_t size)
+static ssize_t vfs_posix_acl_to_xattr(struct user_namespace *mnt_userns,
+ struct inode *inode,
+ const struct posix_acl *acl, void *buffer,
+ size_t size)
{
struct posix_acl_xattr_header *ext_acl = buffer;