diff --git a/mm/shmem.c b/mm/shmem.c index bdaecfdaabd4..007653680a75 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -1943,7 +1943,7 @@ static int shmem_xattr_security_set(struct inode *inode, const char *name, return security_inode_setsecurity(inode, name, value, size, flags); } -struct xattr_handler shmem_xattr_security_handler = { +static struct xattr_handler shmem_xattr_security_handler = { .prefix = XATTR_SECURITY_PREFIX, .list = shmem_xattr_security_list, .get = shmem_xattr_security_get,