[openib-general] 2.6.18 kernel support in the main trunk.
Steve Wise
swise at opengridcomputing.com
Tue Sep 26 13:01:34 PDT 2006
On Tue, 2006-09-26 at 14:50 -0500, Steve Wise wrote:
> Roland,
>
> Whats the status with the main trunk kernel code and 2.6.18?
>
> I noticed that it doesn't build and needs something like this. I haven't
> tested this yet...
>
> Signed-off-by: Steve Wise <swise at opengridcomputing.com>
Oops, that patch was mangled. Try this:
Index: uverbs_main.c
===================================================================
--- uverbs_main.c (revision 9632)
+++ uverbs_main.c (working copy)
@@ -820,11 +820,12 @@
kref_put(&uverbs_dev->ref, ib_uverbs_release_dev);
}
-static struct super_block *uverbs_event_get_sb(struct file_system_type *fs_type, int flags,
- const char *dev_name, void *data)
+static int uverbs_event_get_sb(struct file_system_type *fs_type, int flags,
+ const char *dev_name, void *data,
+ struct vfsmount *mnt)
{
return get_sb_pseudo(fs_type, "infinibandevent:", NULL,
- INFINIBANDEVENTFS_MAGIC);
+ INFINIBANDEVENTFS_MAGIC, mnt);
}
static struct file_system_type uverbs_event_fs = {
More information about the general
mailing list