mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
use anonymouns structs here to be a little nicer to the compiler.
This commit is contained in:
parent
5aed7284a5
commit
1dde16f8ec
@ -2302,7 +2302,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||||||
struct nameidata {
|
struct nameidata {
|
||||||
- struct dentry *dentry;
|
- struct dentry *dentry;
|
||||||
- struct vfsmount *mnt;
|
- struct vfsmount *mnt;
|
||||||
+ __NAMEIDATA2
|
+ struct { __NAMEIDATA2 };
|
||||||
struct qstr last;
|
struct qstr last;
|
||||||
- unsigned int flags;
|
- unsigned int flags;
|
||||||
int last_type;
|
int last_type;
|
||||||
@ -2315,7 +2315,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||||||
- struct open_intent open;
|
- struct open_intent open;
|
||||||
- } intent;
|
- } intent;
|
||||||
+struct nameidata2 {
|
+struct nameidata2 {
|
||||||
+ __NAMEIDATA2
|
+ struct { __NAMEIDATA2 };
|
||||||
};
|
};
|
||||||
|
|
||||||
+#undef __NAMEIDATA2
|
+#undef __NAMEIDATA2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user