Prev: [PATCH RFC tip/core/rcu 15/23] radix-tree: __rcu annotations
Next: [PATCH RFC tip/core/rcu 14/23] notifiers: __rcu annotations
From: Paul E. McKenney on 12 May 2010 17:40 The sparse RCU-pointer annotations require definition of the underlying type of any pointer passed to rcu_dereference() and friends. So fcheck_files() needs "struct file" to be defined, so include fs.h. Signed-off-by: Arnd Bergmann <arnd(a)arndb.de> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> Cc: Al Viro <viro(a)ZenIV.linux.org.uk> --- include/linux/fdtable.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 013dc52..551671e 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -11,6 +11,7 @@ #include <linux/rcupdate.h> #include <linux/types.h> #include <linux/init.h> +#include <linux/fs.h> #include <asm/atomic.h> -- 1.7.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |