git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Linux 2.6.35 compat, const struct xattr_handler
[zfs.git]
/
module
/
zfs
/
zpl_xattr.c
diff --git
a/module/zfs/zpl_xattr.c
b/module/zfs/zpl_xattr.c
index
910500a
..
86e52f7
100644
(file)
--- a/
module/zfs/zpl_xattr.c
+++ b/
module/zfs/zpl_xattr.c
@@
-305,7
+305,7
@@
zpl_xattr_user_set(struct inode *ip, const char *name,
return (error);
}
return (error);
}
-
struct xattr_handler
zpl_xattr_user_handler = {
+
xattr_handler_t
zpl_xattr_user_handler = {
.prefix = XATTR_USER_PREFIX,
.get = zpl_xattr_user_get,
.set = zpl_xattr_user_set,
.prefix = XATTR_USER_PREFIX,
.get = zpl_xattr_user_get,
.set = zpl_xattr_user_set,
@@
-351,7
+351,7
@@
zpl_xattr_trusted_set(struct inode *ip, const char *name,
return (error);
}
return (error);
}
-
struct xattr_handler
zpl_xattr_trusted_handler = {
+
xattr_handler_t
zpl_xattr_trusted_handler = {
.prefix = XATTR_TRUSTED_PREFIX,
.get = zpl_xattr_trusted_get,
.set = zpl_xattr_trusted_set,
.prefix = XATTR_TRUSTED_PREFIX,
.get = zpl_xattr_trusted_get,
.set = zpl_xattr_trusted_set,
@@
-415,13
+415,13
@@
zpl_xattr_security_init(struct inode *ip, struct inode *dip)
return (error);
}
return (error);
}
-
struct xattr_handler
zpl_xattr_security_handler = {
+
xattr_handler_t
zpl_xattr_security_handler = {
.prefix = XATTR_SECURITY_PREFIX,
.get = zpl_xattr_security_get,
.set = zpl_xattr_security_set,
};
.prefix = XATTR_SECURITY_PREFIX,
.get = zpl_xattr_security_get,
.set = zpl_xattr_security_set,
};
-
struct xattr_handler
*zpl_xattr_handlers[] = {
+
xattr_handler_t
*zpl_xattr_handlers[] = {
&zpl_xattr_security_handler,
&zpl_xattr_trusted_handler,
&zpl_xattr_user_handler,
&zpl_xattr_security_handler,
&zpl_xattr_trusted_handler,
&zpl_xattr_user_handler,