mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
use anonymouns structs here to be a little nicer to the compiler.
This commit is contained in:
parent
5aed7284a5
commit
1dde16f8ec
1 changed files with 2 additions and 2 deletions
|
@ -2302,7 +2302,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||
struct nameidata {
|
||||
- struct dentry *dentry;
|
||||
- struct vfsmount *mnt;
|
||||
+ __NAMEIDATA2
|
||||
+ struct { __NAMEIDATA2 };
|
||||
struct qstr last;
|
||||
- unsigned int flags;
|
||||
int last_type;
|
||||
|
@ -2315,7 +2315,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||
- struct open_intent open;
|
||||
- } intent;
|
||||
+struct nameidata2 {
|
||||
+ __NAMEIDATA2
|
||||
+ struct { __NAMEIDATA2 };
|
||||
};
|
||||
|
||||
+#undef __NAMEIDATA2
|
||||
|
|
Loading…
Add table
Reference in a new issue