diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index eef4ebea5158..717aa62ff127 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2071,14 +2071,14 @@ static int shmem_xattr_security_set(struct dentry *dentry, const char *name, | |||
2071 | size, flags); | 2071 | size, flags); |
2072 | } | 2072 | } |
2073 | 2073 | ||
2074 | static struct xattr_handler shmem_xattr_security_handler = { | 2074 | static const struct xattr_handler shmem_xattr_security_handler = { |
2075 | .prefix = XATTR_SECURITY_PREFIX, | 2075 | .prefix = XATTR_SECURITY_PREFIX, |
2076 | .list = shmem_xattr_security_list, | 2076 | .list = shmem_xattr_security_list, |
2077 | .get = shmem_xattr_security_get, | 2077 | .get = shmem_xattr_security_get, |
2078 | .set = shmem_xattr_security_set, | 2078 | .set = shmem_xattr_security_set, |
2079 | }; | 2079 | }; |
2080 | 2080 | ||
2081 | static struct xattr_handler *shmem_xattr_handlers[] = { | 2081 | static const struct xattr_handler *shmem_xattr_handlers[] = { |
2082 | &generic_acl_access_handler, | 2082 | &generic_acl_access_handler, |
2083 | &generic_acl_default_handler, | 2083 | &generic_acl_default_handler, |
2084 | &shmem_xattr_security_handler, | 2084 | &shmem_xattr_security_handler, |