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

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Wed Jun 17 07:36:53 PDT 2009


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
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
>   

Applied,

Regards,
Vladimir




More information about the ewg mailing list