From: Paul E. McKenney Date: Fri, 30 Apr 2010 03:48:47 +0000 (-0700) Subject: vfs: add fs.h to define struct file X-Git-Tag: firefly_0821_release~9833^2~1268^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2c666df80764389886110c942a7916ba9622583d;p=firefly-linux-kernel-4.4.55.git vfs: add fs.h to define struct file 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 Signed-off-by: Paul E. McKenney Cc: Al Viro --- diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 013dc529e95f..551671e87927 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -11,6 +11,7 @@ #include #include #include +#include #include