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 compat 2.6.39: security_inode_init_security()
[zfs.git]
/
module
/
zfs
/
zpl_xattr.c
diff --git
a/module/zfs/zpl_xattr.c
b/module/zfs/zpl_xattr.c
index
bb93414
..
f274407
100644
(file)
--- a/
module/zfs/zpl_xattr.c
+++ b/
module/zfs/zpl_xattr.c
@@
-404,14
+404,16
@@
__zpl_xattr_security_set(struct inode *ip, const char *name,
ZPL_XATTR_SET_WRAPPER(zpl_xattr_security_set);
int
ZPL_XATTR_SET_WRAPPER(zpl_xattr_security_set);
int
-zpl_xattr_security_init(struct inode *ip, struct inode *dip)
+zpl_xattr_security_init(struct inode *ip, struct inode *dip,
+ const struct qstr *qstr)
{
int error;
size_t len;
void *value;
char *name;
{
int error;
size_t len;
void *value;
char *name;
- error = security_inode_init_security(ip, dip, &name, &value, &len);
+ error = zpl_security_inode_init_security(ip, dip, qstr,
+ &name, &value, &len);
if (error) {
if (error == -EOPNOTSUPP)
return 0;
if (error) {
if (error == -EOPNOTSUPP)
return 0;