Skip to contentSkip to conversation

make mm/shmem.c:shmem_xattr_security_handler static

PATCH New Adrian Bunk 1 participant 1 message Nov 17, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make mm/shmem.c:shmem_xattr_security_handler static

This patch makes the needlessly global struct
shmem_xattr_security_handler static.

mm/shmem.c renamed from mm/shmem.c.old +1 -1
@@ -1943,7 +1943,7 @@
 	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,