[PATCH] Staging: pohmelfs: should include fs_struct.h

From: Alexander Beregalov
Date: Thu Apr 02 2009 - 07:37:34 EST


drivers/staging/pohmelfs/path_entry.c: In function
'pohmelfs_construct_path_string':
drivers/staging/pohmelfs/path_entry.c:48: error: dereferencing pointer
to incomplete type
drivers/staging/pohmelfs/path_entry.c:49: error: dereferencing pointer
to incomplete type
drivers/staging/pohmelfs/path_entry.c:50: error: dereferencing pointer
to incomplete type
drivers/staging/pohmelfs/path_entry.c: In function 'pohmelfs_path_length':
drivers/staging/pohmelfs/path_entry.c:95: error: dereferencing pointer
to incomplete type
drivers/staging/pohmelfs/path_entry.c:96: error: dereferencing pointer
to incomplete type
drivers/staging/pohmelfs/path_entry.c:97: error: dereferencing pointer
to incomplete type

Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
---

drivers/staging/pohmelfs/path_entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/pohmelfs/path_entry.c
b/drivers/staging/pohmelfs/path_entry.c
index 9270e54..3bad888 100644
--- a/drivers/staging/pohmelfs/path_entry.c
+++ b/drivers/staging/pohmelfs/path_entry.c
@@ -17,7 +17,7 @@
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/ktime.h>
-#include <linux/fs.h>
+#include <linux/fs_struct.h>
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/mount.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/