2009-04-02 11:37:33

by Alexander Beregalov

[permalink] [raw]
Subject: [PATCH] Staging: pohmelfs: should include fs_struct.h

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 <[email protected]>
---

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>


2009-04-02 21:18:15

by Evgeniy Polyakov

[permalink] [raw]
Subject: Re: [PATCH] Staging: pohmelfs: should include fs_struct.h

Hi Alexander.

On Thu, Apr 02, 2009 at 03:37:10PM +0400, Alexander Beregalov ([email protected]) wrote:
> 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 <[email protected]>

Looks good. Ack.
Greg please queue it for inclusion.

--
Evgeniy Polyakov

2009-04-02 23:41:36

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Staging: pohmelfs: should include fs_struct.h

On Fri, Apr 03, 2009 at 01:17:54AM +0400, Evgeniy Polyakov wrote:
> Hi Alexander.
>
> On Thu, Apr 02, 2009 at 03:37:10PM +0400, Alexander Beregalov ([email protected]) wrote:
> > 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 <[email protected]>
>
> Looks good. Ack.
> Greg please queue it for inclusion.

Will do. Give me a few days to catch up, was away for a week...

thanks,

greg k-h