Skip to content

Commit

Permalink
vfs: add fs.h to define struct file
Browse files Browse the repository at this point in the history
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@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
  • Loading branch information
Paul E. McKenney committed Jun 14, 2010
1 parent a25909a commit 2c666df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/fdtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/rcupdate.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/fs.h>

#include <asm/atomic.h>

Expand Down

0 comments on commit 2c666df

Please sign in to comment.