From 360bc5a54c812973eaa4c778730d430d3e118324 Mon Sep 17 00:00:00 2001 From: Mike Marciniszyn Date: Thu, 24 May 2012 15:08:09 -0400 Subject: [PATCH] IB/qib: fix warning in qib build The backport to get_sb_single() was incorrect in b3fff194cb976e7f4a18411192c8151077f4a5ea. This corrects the return type to avoid the warnings. Signed-off-by: Mike Marciniszyn --- backports/2.6.32-EL6.2/23-qib_fs_RHEL6.2_backports.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backports/2.6.32-EL6.2/23-qib_fs_RHEL6.2_backports.patch b/backports/2.6.32-EL6.2/23-qib_fs_RHEL6.2_backports.patch index 18dc17d..544a224 100644 --- a/backports/2.6.32-EL6.2/23-qib_fs_RHEL6.2_backports.patch +++ b/backports/2.6.32-EL6.2/23-qib_fs_RHEL6.2_backports.patch @@ -52,7 +52,7 @@ diff -rup a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_f if (!IS_ERR(ret)) qib_super = ret->d_sb; +#else -+static struct dentry *qibfs_get_sb(struct file_system_type *fs_type, int flags, ++static int qibfs_get_sb(struct file_system_type *fs_type, int flags, + const char *dev_name, void *data, struct vfsmount *mnt) +{ + int ret = get_sb_single(fs_type, flags, data, -- 2.46.0