[pnfs] [PATCH resend] missing include in nfs4filelayoutdev.c

William A. (Andy) Adamson andros at citi.umich.edu
Mon Nov 26 11:28:03 EST 2007


Hi Benny

The 2.6.18.3 nfslayoutdriver module compiles for me without the include. I
can put it in anyway...

-->Andy

On 11/26/07, Benny Halevy <bhalevy at panasas.com> wrote:
>
> that's for the 2.6.18.3 kernel...
>
> benny
>
> On Nov. 26, 2007, 13:34 +0200, Benny Halevy <bhalevy at panasas.com> wrote:
> > Please apply this patch.
> > The module doesn't compile without it.
> >
> > Thanks,
> >
> > Benny
> >
> > On Oct. 22, 2007, 10:22 +0200, Benny Halevy <bhalevy at panasas.com> wrote:
> >
> > need to include <linux/utsname.h> for system_utsname
> > (introduced in 604236c9aa5a4dfaa8a8f40ee77f45836af6292f)
> >
> > Signed-off-by: Benny Halevy <bhalevy at panasas.com>
> > ---
> >  fs/nfs/nfs4filelayoutdev.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c
> > index dda1e55..7c77ce1 100644
> > --- a/fs/nfs/nfs4filelayoutdev.c
> > +++ b/fs/nfs/nfs4filelayoutdev.c
> > @@ -40,6 +40,7 @@
> >  #include <linux/sched.h>
> >  #include <linux/spinlock.h>
> >  #include <linux/hash.h>
> > +#include <linux/utsname.h>
> >
> >  #include <linux/nfs4.h>
> >  #include <linux/nfs_fs.h>
>
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20071126/c33fe606/attachment.htm 


More information about the pNFS mailing list