On Friday 07 September 2007 10:25, Miquel A. Noguera wrote:
When I try to compile:
error = notify_change(dentry, &attr);
under openSUSE kernel, it aborts with:
error: too few arguments to function ‘notify_change'
Well, that's because of the AppArmor patches; AppArmor requires an additional
struct vfsmnt parameter.
(it compiles fine with vanilla or ubuntu kernels).
Can you help me to get this line succesfully compiled in openSUSE kernel
I'm afraid that just getting the line to compile may not be enough. The
appropriate fix depends on what your code is trying to do. I suggest that you
check for similar uses of notify_change to get an idea what may be
appropriate, and then maybe ask again including more information such as
pointers to the code, a proposed patch, etc.
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-kernel+help(a)opensuse.org