mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make mm/shmem.c:shmem_xattr_security_handler static
@ 2006-11-17 23:58 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-11-17 23:58 UTC (permalink / raw)
  To: Andreas Gruenbacher; +Cc: linux-kernel

This patch makes the needlessly global struct 
shmem_xattr_security_handler static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-rc5-mm2/mm/shmem.c.old	2006-11-17 18:50:05.000000000 +0100
+++ linux-2.6.19-rc5-mm2/mm/shmem.c	2006-11-17 18:50:13.000000000 +0100
@@ -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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-17 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 23:58 [2.6 patch] make mm/shmem.c:shmem_xattr_security_handler static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®