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

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
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Applied,

Regards,
Vladimir

_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to