From 1dde16f8ecffd58c0373f32e8c07008dbb89c50f Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Mon, 16 Apr 2007 15:55:44 +0000 Subject: [PATCH] use anonymouns structs here to be a little nicer to the compiler. --- kernel-patches/for-mainline/split-up-nameidata.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel-patches/for-mainline/split-up-nameidata.diff b/kernel-patches/for-mainline/split-up-nameidata.diff index de2147434..cde88765e 100644 --- a/kernel-patches/for-mainline/split-up-nameidata.diff +++ b/kernel-patches/for-mainline/split-up-nameidata.diff @@ -2302,7 +2302,7 @@ Signed-off-by: Andreas Gruenbacher 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 - struct open_intent open; - } intent; +struct nameidata2 { -+ __NAMEIDATA2 ++ struct { __NAMEIDATA2 }; }; +#undef __NAMEIDATA2