[2.6 patch] mm/shmem.c: make a struct static

From: Adrian Bunk
Date: Fri Jan 21 2005 - 05:14:52 EST


This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 12 Dec 2004

--- linux-2.6.10-rc2-mm4-full/mm/shmem.c.old 2004-12-12 03:53:52.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/mm/shmem.c 2004-12-12 03:54:00.000000000 +0100
@@ -2163,7 +2163,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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/