->getxattr(): pass dentry and inode as separate arguments
[linux-2.6-block.git] / security / integrity / evm / evm_main.c
index 84c6d11fc096da3a5d5b695b9013b793b0f6d301..b9e26288d30c23a43c0f7648471008791a93f9f3 100644 (file)
@@ -82,7 +82,7 @@ static int evm_find_protected_xattrs(struct dentry *dentry)
                return -EOPNOTSUPP;
 
        for (xattr = evm_config_xattrnames; *xattr != NULL; xattr++) {
-               error = inode->i_op->getxattr(dentry, *xattr, NULL, 0);
+               error = inode->i_op->getxattr(dentry, inode, *xattr, NULL, 0);
                if (error < 0) {
                        if (error == -ENODATA)
                                continue;