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

Benny Halevy bhalevy at panasas.com
Mon Nov 26 06:38:25 EST 2007


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>



More information about the pNFS mailing list