Re: Linux 2.6.32.38

From: Greg KH
Date: Fri Apr 15 2011 - 17:36:32 EST


diff --git a/Makefile b/Makefile
index f5fac8b..7bdf889 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
-EXTRAVERSION = .37
+EXTRAVERSION = .38
NAME = Man-Eating Seals of Antiquity

# *DOCUMENTATION*
diff --git a/net/rds/rdma.c b/net/rds/rdma.c
index f7d8c08..6b09b94 100644
--- a/net/rds/rdma.c
+++ b/net/rds/rdma.c
@@ -473,14 +473,6 @@ static struct rds_rdma_op *rds_rdma_prepare(struct rds_sock *rs,

max_pages = max(nr, max_pages);
nr_pages += nr;
-
- /*
- * nr_pages for one entry is limited to (UINT_MAX>>PAGE_SHIFT)+1,
- * so tot_pages cannot overflow without first going negative.
- */
- if ((int)nr_pages < 0)
- ret = -EINVAL;
- goto out;
}

pages = kcalloc(max_pages, sizeof(struct page *), GFP_KERNEL);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/