coda: fix creds reference
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 19 Nov 2008 19:30:27 +0000 (11:30 -0800)
committerJames Morris <jmorris@namei.org>
Wed, 19 Nov 2008 21:11:52 +0000 (08:11 +1100)
Needs a header file for credentials struct:

linux-next-20081023/fs/coda/file.c:177: error: dereferencing pointer to incomplete type

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
fs/coda/file.c

index 5a87699..466303d 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/file.h>
 #include <linux/fs.h>
 #include <linux/stat.h>
+#include <linux/cred.h>
 #include <linux/errno.h>
 #include <linux/smp_lock.h>
 #include <linux/string.h>