[ewg] Re: [PATCH OFED-1.5] nfsrdma: Fix SLES11 compile error

Jack Morgenstein jackm at dev.mellanox.co.il
Tue Jun 16 22:30:10 PDT 2009


Vlad, Jon,

I'll add this one.

-Jack

On Tuesday 16 June 2009 22:40, Jon Mason wrote:
> The 2.6.20 kernel update broke the SLES11 backport for NFSRDMA.  This is
> due to the deactivate_locked_super not being defined.  The patch below
> defines it to be what existed there before.
> 
> With this patch (and the newly added ib_core support for SLES11), I am
> able to confirm that Connectathon completes without issue over TCP and
> RDMA.
> 
> Signed-Off-By: Jon Mason <jon at opengridcomputing.com>
> 
> diff --git a/kernel_addons/backport/2.6.27_sles11/include/linux/fs.h b/kernel_addons/backport/2.6.27_sles11/include/linux/fs.h
> index 094dda6..926120e 100644
> --- a/kernel_addons/backport/2.6.27_sles11/include/linux/fs.h
> +++ b/kernel_addons/backport/2.6.27_sles11/include/linux/fs.h
> @@ -60,4 +60,10 @@ static inline int unshare_fs_struct(void)
>  	return 0;
>  }
>  
> +static inline void deactivate_locked_super(struct super_block *s)
> +{
> +	up_write(&s->s_umount);
> +	deactivate_super(s);
> +}
> +
>  #endif
> 



More information about the ewg mailing list