Loading fs/gfs2/acl.c +1 −1 Original line number Diff line number Diff line Loading @@ -335,7 +335,7 @@ static int gfs2_xattr_system_set(struct dentry *dentry, const char *name, return error; } struct xattr_handler gfs2_xattr_system_handler = { const struct xattr_handler gfs2_xattr_system_handler = { .prefix = XATTR_SYSTEM_PREFIX, .flags = GFS2_EATYPE_SYS, .get = gfs2_xattr_system_get, Loading fs/gfs2/acl.h +1 −1 Original line number Diff line number Diff line Loading @@ -19,6 +19,6 @@ extern int gfs2_check_acl(struct inode *inode, int mask); extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode); extern int gfs2_acl_chmod(struct gfs2_inode *ip, struct iattr *attr); extern struct xattr_handler gfs2_xattr_system_handler; extern const struct xattr_handler gfs2_xattr_system_handler; #endif /* __ACL_DOT_H__ */ fs/gfs2/super.h +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ extern struct file_system_type gfs2meta_fs_type; extern const struct export_operations gfs2_export_ops; extern const struct super_operations gfs2_super_ops; extern const struct dentry_operations gfs2_dops; extern struct xattr_handler *gfs2_xattr_handlers[]; extern const struct xattr_handler *gfs2_xattr_handlers[]; #endif /* __SUPER_DOT_H__ */ fs/gfs2/xattr.c +3 −3 Original line number Diff line number Diff line Loading @@ -1535,21 +1535,21 @@ int gfs2_ea_dealloc(struct gfs2_inode *ip) return error; } static struct xattr_handler gfs2_xattr_user_handler = { static const struct xattr_handler gfs2_xattr_user_handler = { .prefix = XATTR_USER_PREFIX, .flags = GFS2_EATYPE_USR, .get = gfs2_xattr_get, .set = gfs2_xattr_set, }; static struct xattr_handler gfs2_xattr_security_handler = { static const struct xattr_handler gfs2_xattr_security_handler = { .prefix = XATTR_SECURITY_PREFIX, .flags = GFS2_EATYPE_SECURITY, .get = gfs2_xattr_get, .set = gfs2_xattr_set, }; struct xattr_handler *gfs2_xattr_handlers[] = { const struct xattr_handler *gfs2_xattr_handlers[] = { &gfs2_xattr_user_handler, &gfs2_xattr_security_handler, &gfs2_xattr_system_handler, Loading Loading
fs/gfs2/acl.c +1 −1 Original line number Diff line number Diff line Loading @@ -335,7 +335,7 @@ static int gfs2_xattr_system_set(struct dentry *dentry, const char *name, return error; } struct xattr_handler gfs2_xattr_system_handler = { const struct xattr_handler gfs2_xattr_system_handler = { .prefix = XATTR_SYSTEM_PREFIX, .flags = GFS2_EATYPE_SYS, .get = gfs2_xattr_system_get, Loading
fs/gfs2/acl.h +1 −1 Original line number Diff line number Diff line Loading @@ -19,6 +19,6 @@ extern int gfs2_check_acl(struct inode *inode, int mask); extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode); extern int gfs2_acl_chmod(struct gfs2_inode *ip, struct iattr *attr); extern struct xattr_handler gfs2_xattr_system_handler; extern const struct xattr_handler gfs2_xattr_system_handler; #endif /* __ACL_DOT_H__ */
fs/gfs2/super.h +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ extern struct file_system_type gfs2meta_fs_type; extern const struct export_operations gfs2_export_ops; extern const struct super_operations gfs2_super_ops; extern const struct dentry_operations gfs2_dops; extern struct xattr_handler *gfs2_xattr_handlers[]; extern const struct xattr_handler *gfs2_xattr_handlers[]; #endif /* __SUPER_DOT_H__ */
fs/gfs2/xattr.c +3 −3 Original line number Diff line number Diff line Loading @@ -1535,21 +1535,21 @@ int gfs2_ea_dealloc(struct gfs2_inode *ip) return error; } static struct xattr_handler gfs2_xattr_user_handler = { static const struct xattr_handler gfs2_xattr_user_handler = { .prefix = XATTR_USER_PREFIX, .flags = GFS2_EATYPE_USR, .get = gfs2_xattr_get, .set = gfs2_xattr_set, }; static struct xattr_handler gfs2_xattr_security_handler = { static const struct xattr_handler gfs2_xattr_security_handler = { .prefix = XATTR_SECURITY_PREFIX, .flags = GFS2_EATYPE_SECURITY, .get = gfs2_xattr_get, .set = gfs2_xattr_set, }; struct xattr_handler *gfs2_xattr_handlers[] = { const struct xattr_handler *gfs2_xattr_handlers[] = { &gfs2_xattr_user_handler, &gfs2_xattr_security_handler, &gfs2_xattr_system_handler, Loading