diff options
author | Brian Behlendorf <[email protected]> | 2011-05-19 12:47:32 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-07-01 12:40:08 -0700 |
commit | 5c03efc379693f992ebe39c6a00c7297c4a304ea (patch) | |
tree | 276b91b77f0fcd1c09774dcdc8b8d831b54be729 /include/sys/zpl.h | |
parent | bd2f5ac97f4265523fb1397d845eabb8647c79e4 (diff) |
Linux compat 2.6.39: security_inode_init_security()
The security_inode_init_security() function now takes an additional
qstr argument which must be passed in from the dentry if available.
Passing a NULL is safe when no qstr is available the relevant
security checks will just be skipped.
Closes #246
Closes #217
Closes #187
Diffstat (limited to 'include/sys/zpl.h')
-rw-r--r-- | include/sys/zpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/zpl.h b/include/sys/zpl.h index 906b5a73d..2770e59b2 100644 --- a/include/sys/zpl.h +++ b/include/sys/zpl.h @@ -60,7 +60,8 @@ extern struct file_system_type zpl_fs_type; /* zpl_xattr.c */ extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size); -extern int zpl_xattr_security_init(struct inode *ip, struct inode *dip); +extern int zpl_xattr_security_init(struct inode *ip, struct inode *dip, + const struct qstr *qstr); extern xattr_handler_t *zpl_xattr_handlers[]; |