Compilation problems on 7.10

Asked by agon04

Hi Group,

Below is the code segment that does not compile on UBUNTU 7.10 after including AppArmor patches (variable "_KSL" is "kernel-sub-level" = 22):
---------------------
struct dentry *dentry;
struct iattr attr;
int error;
#if _KSL > 21 && defined(CONFIG_SUSE_KERNEL)
        error = notify_change(dentry,NULL,&attr);
#else
        error = notify_change(dentry,&attr);
#endif
---------------------
It compiles fine on Vanilla Kernel and OpenSuse 10.3
Is there a variable similar to CONFIG_UBUNTU_KERNEL that I can use to pass correct number of parameters to "notify_change" ?

Regards,
Alex.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.